Browse Source

去掉实名手机必填

master
luyisha 3 years ago
parent
commit
f9b566aa7b
  1. 16
      pages/auth/primary.vue

16
pages/auth/primary.vue

@ -50,7 +50,7 @@
</view>
</view>
<view class="form-item border-b p-md m-b-md">
<view class="form-item border-b p-md m-b-md" v-if="1==='电话'">
<view class="label m-b-xs">{{$t('auth.c9')}}</view>
<view class="input color-light">
<v-input v-model="form.phone" :placeholder="$t('auth.d0')"></v-input>
@ -165,13 +165,13 @@ export default {
//
primaryAuth() {
let data = this.form;
if(this.form.phone==""){
uni.showToast({
title: this.$t('reg.c3'),
icon: 'none'
})
return;
}
// 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, '-----');

Loading…
Cancel
Save