Skip to content

Commit

Permalink
[*] 修复BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Daiyangcheng committed Feb 24, 2024
1 parent aeb5aba commit 4330a2e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/views/RealName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ function CheckRealNameStatus() {
showFinishModal.value = false
showRealnameModal.value = false
// 实人次数足够展示实人,不够展示支付
console.log(realPersonCount.value);
if (realPersonCount.value < 1) {
getPayUrl();
showRealpersonMoal.value = false
Expand All @@ -250,6 +251,19 @@ function CheckRealNameStatus() {
}
// 两个都没完成则全部展示
if (realName.value === false && realPerson.value == false) {
showFinishModal.value = false
showRealnameModal.value = true
// 实人次数足够展示实人,不够展示支付
if (realPersonCount.value < 1) {
getPayUrl();
showRealpersonMoal.value = false
showPayModal.value = true
} else {
showRealpersonMoal.value = true
showPayModal.value = false
}
}
loading.value = false;
})
}
Expand All @@ -266,5 +280,6 @@ function getPayUrl() {
function realPersonPay() {
window.open(payUrl.value);
}
CheckRealNameStatus()
</script>

0 comments on commit 4330a2e

Please sign in to comment.