Ver código fonte

出场返回

aleyds 3 anos atrás
pai
commit
b7759173b1
1 arquivos alterados com 14 adições e 8 exclusões
  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)