aleyds 3 gadi atpakaļ
vecāks
revīzija
1a01febd6a
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5 5
      pages/getout/getoutpage/getoutpage.vue

+ 5 - 5
pages/getout/getoutpage/getoutpage.vue

@@ -32,7 +32,7 @@
 		<view class="bottom-btn-wrap">
 			<view class="bottom-btn-box u-flex">
 				<view class="bottom-btn bg-blue" @click="handleOut">出场</view>
-				<view class="bottom-btn bg-gray" @click="openPage('pages/getout/getout')">取消</view>
+				<view class="bottom-btn bg-gray" @click="onCancel()">取消</view>
 			</view>
 		</view>
 		
@@ -164,10 +164,10 @@
 			this.handleEntranceOutDetail();
 		},
 		methods:{
-			openPage(path) {
-				console.log('path',path);
-				this.$u.route({ 
-					url: path
+			onCancel(){
+				this.$u.route({
+					type: 'redirectTo',
+					url: 'pages/getout/getout'
 				})
 			},
 			onPayCancel(){