From 4330a2e1ef7b1dddd0ef509f3742b97452816511 Mon Sep 17 00:00:00 2001 From: daiyangcheng Date: Sat, 24 Feb 2024 20:36:29 +0800 Subject: [PATCH] =?UTF-8?q?[*]=20=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/RealName.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/views/RealName.vue b/src/views/RealName.vue index 98ab854..6f93263 100644 --- a/src/views/RealName.vue +++ b/src/views/RealName.vue @@ -239,6 +239,7 @@ function CheckRealNameStatus() { showFinishModal.value = false showRealnameModal.value = false // 实人次数足够展示实人,不够展示支付 + console.log(realPersonCount.value); if (realPersonCount.value < 1) { getPayUrl(); showRealpersonMoal.value = false @@ -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; }) } @@ -266,5 +280,6 @@ function getPayUrl() { function realPersonPay() { window.open(payUrl.value); } + CheckRealNameStatus()