Browse Source

去掉实名手机必填

master
luyisha 3 years ago
parent
commit
99674db5f5
  1. 18
      src/views/profile/certification.vue

18
src/views/profile/certification.vue

@ -68,7 +68,7 @@
>{{item.country_code}}{{item.name}}</el-dropdown-item> >{{item.country_code}}{{item.name}}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> --> </el-dropdown> -->
<div class="form-group col-md-9"> <!-- <div class="form-group col-md-9">
<label>{{$t('profile.phoneNumber')}}*</label> <label>{{$t('profile.phoneNumber')}}*</label>
<input <input
type="text" type="text"
@ -77,7 +77,7 @@
class="form-control" class="form-control"
:placeholder="$t('profile.enterPhoneNumber')" :placeholder="$t('profile.enterPhoneNumber')"
/> />
</div> </div> -->
<!-- </div> <!-- </div>
</div> --> </div> -->
</div> </div>
@ -371,13 +371,13 @@ export default {
// //
primaryAuth() { primaryAuth() {
let data = this.form; let data = this.form;
if(this.form.phone==""){ // if(this.form.phone==""){
this.$message({ // this.$message({
message: this.$t('login.enterMobile'), // message: this.$t('login.enterMobile'),
type: "warning" // type: "warning"
}); // });
return; // return;
} // }
// data.country_code = this.country.country_code; // data.country_code = this.country.country_code;
data.front_img = this.topForm.front_img; data.front_img = this.topForm.front_img;
data.back_img = this.topForm.back_img; data.back_img = this.topForm.back_img;

Loading…
Cancel
Save