瀏覽代碼

出场返回

aleyds 3 年之前
父節點
當前提交
b7759173b1
共有 1 個文件被更改,包括 14 次插入8 次删除
  1. 14 8
      pages/getout/getoutpage/getoutpage.vue

+ 14 - 8
pages/getout/getoutpage/getoutpage.vue

@@ -165,16 +165,22 @@
 		},
 		methods:{
 			onCancel(){
-				this.$u.route({
-					type: 'redirectTo',
-					url: 'pages/getout/getout'
-				})
+				// this.$u.route({
+				// 	type: 'redirectTo',
+				// 	url: 'pages/getout/getout'
+				// })
+				uni.navigateBack({
+				    delta: 1
+				});
 			},
 			onPayCancel(){
-				this.$u.route({
-					type: 'redirectTo',
-					url: '/pages/getout/getout'
-				})
+				// this.$u.route({
+				// 	type: 'redirectTo',
+				// 	url: '/pages/getout/getout'
+				// })
+				uni.navigateBack({
+				    delta: 1
+				});
 			},
 			speaks(msg){
 				speak?.speakAction(msg)