Browse Source

feat: 处理查看/编辑非【广播】大类中的频道,关闭页面再次打开,频道内容显示的是【广播】中的内容信息

332777428@qq.com 1 month ago
parent
commit
969f5bbfba
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/views/operation/channels/index.vue

+ 10 - 0
src/views/operation/channels/index.vue

@@ -85,6 +85,7 @@
           </el-select>
         </el-form-item>
 
+
         <el-form-item v-if="dialogForm.id" label="个人频道分类:">
           <div class="classList" v-if="readOnly">
             <el-button
@@ -591,6 +592,15 @@ export default {
     // 取消
     getClose() {
       this.dialogVisible = false;
+      this.active = 0;
+      // if (
+      //   this.dialogForm != null &&
+      //   this.dialogForm.defaultList != null &&
+      //   this.dialogForm.defaultList.length > 0
+      // ) {
+      //   this.getActive(this.dialogForm.defaultList[0]);
+      // }
+
       this.dialogForm = {};
       this.$refs.dialogForm.resetFields();
     },