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 @@ --> +