diff --git a/src/views/profile/certification.vue b/src/views/profile/certification.vue index a5281e9..fa78f5c 100644 --- a/src/views/profile/certification.vue +++ b/src/views/profile/certification.vue @@ -371,6 +371,13 @@ export default { // 初级认证 primaryAuth() { let data = this.form; + if(this.form.phone==""){ + this.$message({ + message: this.$t('login.enterMobile'), + type: "warning" + }); + return; + } // data.country_code = this.country.country_code; data.front_img = this.topForm.front_img; data.back_img = this.topForm.back_img;