Browse Source

feature_20260330_拜访连拍速度优化

zhujindu 1 tuần trước cách đây
mục cha
commit
0e15bf3d87
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/views/deviceWithin/taskPhotoTaking.vue

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

@@ -288,6 +288,9 @@ export default {
       return addCollectionAnswerBatch(formData).then((res) => {
         if (res.code == 200) {
           localStorage.setItem('getRequestFlage', 'true');
+          if (this.$refs.taskPhoto && this.$refs.taskPhoto[0]) {
+            this.$refs.taskPhoto[0].imgArr = [];
+          }
           this.$router.go(-1);
         } else {
           this.$toast('提交失败,请重试');