소스 검색

出场返回

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)