瀏覽代碼

车位锁返回操作

zaijin 3 年之前
父節點
當前提交
322f83bf4f
共有 1 個文件被更改,包括 3 次插入1 次删除
  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