Browse Source

频道管理 定制频道

DESKTOP-O04BTUJ\muzen 3 years ago
parent
commit
e105df07dc
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/views/channel/custom/detail.vue

+ 7 - 1
src/views/channel/custom/detail.vue

@@ -24,7 +24,7 @@
         </el-col>
       </el-row>
       <el-form-item label="频道内容:">
-        <el-button type="primary" icon="el-icon-plus" @click="dialogVisible = true, getPage()">
+        <el-button type="primary" icon="el-icon-plus" @click="getDialog">
           新增内容
         </el-button>
         <el-table :data="tableData" height="381" v-loading="loading">
@@ -183,6 +183,12 @@ export default {
       this.form.pic = e.file
     },
 
+    // 打开弹窗
+    getDialog() {
+      this.dialogVisible = true
+      this.getPage()
+    },
+
     // 搜索
     getSearch() {
       this.dialogForm.pageNum = 1