瀏覽代碼

重置文件列表

QuYueTing 6 月之前
父節點
當前提交
aa200a4083
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      fhKeeper/formulahousekeeper/timesheet/src/views/workReport/weeklyCustomization.vue

+ 2 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/weeklyCustomization.vue

@@ -372,6 +372,8 @@ export default {
             console.log(JSON.parse(JSON.stringify(data)), '<===== 处理之前的')
             this.summaryContent = data.summary;
             this.serverFileList = data.weeklyAttachment?JSON.parse(data.weeklyAttachment):[];
+            //重置文件列表
+            this.fileList = [];
             if (this.serverFileList) {
                 for (var i=0;i<this.serverFileList.length; i++) {
                     var item = this.serverFileList[i];