zhujindu 1 سال پیش
والد
کامیت
b4263df7da
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/deviceWithin/addStoreVisit.vue

+ 1 - 1
src/views/deviceWithin/addStoreVisit.vue

@@ -2842,12 +2842,12 @@ export default {
     this.info();
     // 拍照次数重置
     store.dispatch('setShotsNum', 0);
+    this.show = false;
   },
   watch: {
     $route(to, from) {
       if (from.path == '/addStoreVisit') {
         // 离开当前页面时,关闭弹框
-        this.show = false;
         if (this.$refs.uploadVNormal) this.$refs.uploadVNormal.close();
       }
     },