Browse Source

bugfix:修复支付宝小程序未渲染出入住信息问题

Shu 3 months ago
parent
commit
9442ed8cc7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      subpkg_checkin/confirmOrder/confirmOrder.vue

+ 3 - 1
subpkg_checkin/confirmOrder/confirmOrder.vue

@@ -66,7 +66,7 @@
 		<!-- #endif -->
 
 		<!-- #ifdef MP-ALIPAY -->
-		<view v-for="(info,index) in guestInfos" :key="index" class="guest-info">
+		<view v-for="(info,index) in checkinInfo" :key="index" class="guest-info">
 			<ant-swipe-action :rightButtons="rightBtns" @swipeStart="onSwipeStart" @swipeEnd="onSwipeEnd"
 				@buttonTap="deleteGuestAli" :swiped="swipeIndex === index" :data-item="index" :disabled="index ===0">
 				<view class="swipe-item">
@@ -164,6 +164,7 @@
 					url: '/subpkg_checkin/addGuest/addGuest'
 				})
 			},
+			// #ifdef MP-WEIXIN
 			deleteGuest(info) {
 				if (info.name === 0) {
 					return
@@ -171,6 +172,7 @@
 				this.checkinInfo.splice(info.name, 1)
 				this.updateCheckinInfo(this.checkinInfo)
 			},
+			// #endif
 			async confirmOrder() {
 				//小程序创建的订单,先在后台创建订单,创建成功后跳转至支付页面
 				if (this.order.orderSource === 'MINI_APP') {