fix: 修复bug

pull/2/head
TianYu 2023-05-26 16:35:25 +08:00
parent f07e115e5d
commit fa341e5e18
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<button style="cursor: pointer;display:none;" :class="triggerName" :data-clipboard-text="alipayLink">
</button>
<!-- 支付宝支付界面 -->
<u-modal :show="alipayShow" title="支付宝支付" @confirm="handleConfirm">
<u-modal :show="show" title="支付宝支付" @confirm="handleConfirm">
<view class="slot-content">
链接已复制请到外部浏览器完成支付
</view>
@ -31,7 +31,7 @@
},
data() {
return {
alipayShow: this.show
}
},
mounted() {
@ -39,7 +39,6 @@
},
methods: {
handleConfirm() {
this.alipayShow = false
this.$emit('update:show', false)
this.$emit('confirm')
}

View File

@ -32,7 +32,7 @@
</view>
</view>
<view class="btn">
<view class="button acea-row row-center-wrapper pay-button" @click='goPay(number, paytype)'>确认支付</view>
<view class="button acea-row row-center-wrapper pay-button" @click='goPay'>确认支付</view>
<view class="wait-pay" @click="waitPay"></view>
</view>
<view v-show="false" v-html="formContent"></view>