Browse Source

重置文件列表

QuYueTing 6 tháng trước cách đây
mục cha
commit
aa200a4083

+ 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];