Kaynağa Gözat

车位锁返回操作

zaijin 3 yıl önce
ebeveyn
işleme
322f83bf4f
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      pages/parkingLock/parkingLock.vue

+ 3 - 1
pages/parkingLock/parkingLock.vue

@@ -182,7 +182,9 @@
 			},
 			// 返回首页
 			cancel() {
-				window.location.href = config.jumpHomeUrl
+				uni.switchTab({
+					url: '/pages/index/index'
+				})
 			},
 			closePaymentMethod() {
 				this.payWayPop = false