瀏覽代碼

Merge branch 'feature_20260425_完美门店陈列奖励案图片上传方式修改' into master-20260422

zhujindu 16 小時之前
父節點
當前提交
17a88c93e3
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/deviceWithin/taskPhotoTaking.vue

+ 3 - 1
src/views/deviceWithin/taskPhotoTaking.vue

@@ -337,7 +337,9 @@ export default {
         this.toastLoading().clear();
         this.toastLoading().clear();
         if (res.code == 200) {
         if (res.code == 200) {
           localStorage.setItem('getRequestFlage', 'true');
           localStorage.setItem('getRequestFlage', 'true');
-          this.formData.fileInfoList = [];
+          if (this.formData && this.formData[0]) {
+            this.formData[0].fileInfoList = [];
+          }
           this.$router.go(-1);
           this.$router.go(-1);
         } else {
         } else {
           this.$toast('提交失败,请重试');
           this.$toast('提交失败,请重试');