Prechádzať zdrojové kódy

feature_20260425_完美门店陈列奖励案图片上传方式修改

zhujindu 17 hodín pred
rodič
commit
d97505162a

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

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