|
@@ -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
|