Browse Source

频道管理 定制频道 关闭弹窗刷新列表

DESKTOP-O04BTUJ\muzen 3 years atrás
parent
commit
2f6f147de2
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/views/channel/custom/index.vue

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

@@ -53,7 +53,7 @@
         </el-form-item>
       </el-form>
       <div slot="footer" v-if="index !== 1">
-        <el-button @click="dialogVisible = false">取消</el-button>
+        <el-button @click="cancel">取消</el-button>
         <el-button type="primary" @click="getSubmit">确定</el-button>
       </div>
     </el-dialog>
@@ -215,6 +215,12 @@ export default {
       }
     },
 
+    // 取消
+    cancel(){
+      this.dialogVisible = false
+      this.getList()
+    },
+
     // 字典翻译
     typeFormatter(row) {
       return this.selectDictLabel(this.dict.type.deployment_form, row.type)