Forráskód Böngészése

上传模块重置完成

yxc 2 éve
szülő
commit
cdaca4bbc5

+ 8 - 2
src/views1/File/Individual/IndividualView.vue

@@ -743,8 +743,10 @@ export default {
         isDel: null,
         searchValue: this.spaceId,
         tagList: [],
+      
       };
       this.resetForm("form");
+      this.dynamicTags=[]
     },
     /** 搜索按钮操作 */
     handleQuery() {
@@ -776,15 +778,19 @@ export default {
       this.reset();
       this.open = true;
       this.title = "添加文件基本信息";
+      // this.dynamicTags=[];
+      // console.log(this.dynamicTags);
     },
     /** 修改按钮操作 */
     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);
       });
     },
     /** 提交按钮 */
@@ -808,7 +814,7 @@ export default {
       });
    
       // console.log(this.dynamicTags.length);
-      console.log(this.form);
+      // console.log(this.form);
       // console.log(this.dynamicTags);
      
     },

+ 1 - 1
src/views1/File/Storage/StorageView.vue

@@ -1,5 +1,5 @@
 <template>
-<h1>分组文档111</h1>
+<h1>分组文档</h1>
 </template>
 
 <script>