Procházet zdrojové kódy

feature_20250811_拜访拍照任务连拍

zhujindu před 3 měsíci
rodič
revize
5ecc7dfe51
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/deviceWithin/addStoreVisit.vue

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

@@ -3173,7 +3173,7 @@ export default {
     this.inspectionType = this.$route.query.inspectionType;
     // this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
-    if (this.$route.query.photoType != null) {
+    if (this.$route.query.photoType && this.$route.query.photoType != null) {
       this.indexselect = 0;
     } else {
       this.indexselect = 1;
@@ -3210,7 +3210,7 @@ export default {
     this.inspectionType = this.$route.query.inspectionType;
     // this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
-    if (this.$route.query.photoType != null) {
+    if (this.$route.query.photoType && this.$route.query.photoType != null) {
       this.indexselect = 0;
     } else {
       this.indexselect = 1;