Browse Source

注册不显示推荐码

master
luyisha 3 years ago
parent
commit
dc23afb8a6
  1. 10
      pages/reg/index.vue

10
pages/reg/index.vue

@ -113,7 +113,7 @@
<view class="label m-b-xs">{{$t('reg.c6')}}</view> <view class="label m-b-xs">{{$t('reg.c6')}}</view>
<v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input> <v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input>
</view> --> </view> -->
<view class="form-item border-b m-b-md p-b-xs"> <view class="form-item border-b m-b-md p-b-xs" v-if="0">
<view class="label m-b-xs">{{$t('reg.c6')}}</view> <view class="label m-b-xs">{{$t('reg.c6')}}</view>
<!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}(${$t('reg.b4')})`"></v-input> --> <!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}(${$t('reg.b4')})`"></v-input> -->
<v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input> <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input>
@ -187,10 +187,10 @@ export default {
} }
return; return;
} }
if (!this.form.invite_code) { // if (!this.form.invite_code) {
this.$toast(this.$t('reg.c7')); // this.$toast(this.$t('reg.c7'));
return; // return;
} // }
this.form.type=this.form.type this.form.type=this.form.type
this.form.country_code = this.country_code || 86; this.form.country_code = this.country_code || 86;

Loading…
Cancel
Save