From f4c2f37d1c5f9da4d613414d10726406b35d838f Mon Sep 17 00:00:00 2001 From: luyisha Date: Thu, 29 Jun 2023 15:44:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=AE=9E=E5=90=8D=E5=BF=85?= =?UTF-8?q?=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/auth/primary.vue | 9 ++++++++- pages/exchange/exchange-transaction.vue | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/auth/primary.vue b/pages/auth/primary.vue index 183e0d0..8ded5ee 100644 --- a/pages/auth/primary.vue +++ b/pages/auth/primary.vue @@ -50,7 +50,7 @@ - + {{$t('auth.c9')}} @@ -165,6 +165,13 @@ export default { // 认证 primaryAuth() { let data = this.form; + if(this.form.phone==""){ + uni.showToast({ + title: this.$t('reg.c3'), + icon: 'none' + }) + return; + } data.country_code = this.activeCountry.country_code; Profile.primaryAuth(data,{btn:this.$refs.btn}).then((res) => { console.log(res, '-----'); diff --git a/pages/exchange/exchange-transaction.vue b/pages/exchange/exchange-transaction.vue index a5c700e..8fca843 100644 --- a/pages/exchange/exchange-transaction.vue +++ b/pages/exchange/exchange-transaction.vue @@ -246,6 +246,7 @@ --> +