From 98af2a90fcf7bd6a8a1ba101142566e56bc7ebd9 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Mon, 17 Apr 2023 10:29:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BagStation/pages/stationDetail/stationDetail.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BagStation/pages/stationDetail/stationDetail.vue b/BagStation/pages/stationDetail/stationDetail.vue index 5fd537e..73b9344 100644 --- a/BagStation/pages/stationDetail/stationDetail.vue +++ b/BagStation/pages/stationDetail/stationDetail.vue @@ -382,8 +382,13 @@ }) }, goBack() { + // this.innerAudioContext?.stop() + // uni.navigateBack() this.innerAudioContext?.stop() - uni.navigateBack() + let siteId = uni.getStorageSync('siteId') + siteId + ? uni.switchTab({url:'../../../pages/tabbar/home/home'}) + : uni.navigateBack() ; }, selectRadio() { this.radio === 'A' ? this.radio = '' : this.radio = 'A'