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