Преглед изворни кода

Merge branch 'feature_20250324_业务员拜访记录回显部主管反馈内容' into release

zhujindu пре 8 месеци
родитељ
комит
cb42ce1eeb
1 измењених фајлова са 7 додато и 1 уклоњено
  1. 7 1
      src/views/historicalVisit/historicalDetails.vue

+ 7 - 1
src/views/historicalVisit/historicalDetails.vue

@@ -382,7 +382,13 @@ export default {
       sessionStorage.setItem('collectionItemList', JSON.stringify(val.collectionItemList));
     },
     onClickLeft() {
-      this.$router.go(-1);
+      if (this.$route.query.token) {
+        this.$router.push({
+          path: '/historicalVisit',
+        });
+      } else {
+        this.$router.go(-1);
+      }
     },
   },
 };