浏览代码

Merge remote-tracking branch 'origin/dev' into dev

wukai 2 年之前
父节点
当前提交
44b673fbd2
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      lzga-ui/src/views1/File/Individual/IndividualView.vue

+ 4 - 4
lzga-ui/src/views1/File/Individual/IndividualView.vue

@@ -743,7 +743,6 @@ export default {
         isDel: null,
         searchValue: this.spaceId,
         tagList: [],
-      
       };
       this.resetForm("form");
       this.dynamicTags=[]
@@ -783,14 +782,15 @@ export default {
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
-      // this.reset();
+      this.reset();
       const docId = row.docId || this.ids;
       getInfo(docId, row.createYear).then((response) => {
         this.form = response.data;
-        // this.form.tagList = this.dynamicTags;
         this.open = true;
         this.title = "修改文件基本信息";
-        // console.log(response);
+        this.dynamicTags = this.form.tagList.map(item=>item.tagName);
+        // console.log(this.dynamicTags);
+        // console.log(this.form);
       });
     },
     /** 提交按钮 */