Commit 55ded045 authored by tyyin lan's avatar tyyin lan

chore: 礼包充值支付状态查询优化

parent a8fd849d
......@@ -59,6 +59,12 @@ watch(currentSelectVersion, (newVal) => {
clearPayStatusTimer()
}
if (newVal && ['ProfessionalVersion', 'FlagshipVersion'].includes(newVal)) {
getEquityPayQrCode()
} else {
clearPayStatusTimer()
}
clearPayInfo()
currentSelectPackage.value = 0
......@@ -71,16 +77,6 @@ watch(currentPackageInfo, (info) => {
}
})
watch(
isShowPayQrCode,
(newVal) => {
if (newVal) {
getEquityPayQrCode()
}
},
{ immediate: true },
)
onMounted(() => {
if (currentPackageInfo.value) {
currentPayPrice.value = currentPackageInfo.value.list[0].currentPrice
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment