diff --git a/pages/base/home.vue b/pages/base/home.vue index b305834..321efde 100644 --- a/pages/base/home.vue +++ b/pages/base/home.vue @@ -859,14 +859,14 @@ - {{ $t("base.h3") }} - + --> @@ -1038,9 +1038,9 @@ watch: { isShow(n) { if(n&&this.isLogin){ - this.chatcount = setInterval(()=>{ - this.chat() - },2000) + // this.chatcount = setInterval(()=>{ + // this.chat() + // },2000) } else if(!n){ clearInterval(this.chatcount); } @@ -1419,9 +1419,9 @@ this.getCollegeLinks(); if (this.isLogin) { - this.chatcount = setInterval(()=>{ - this.chat() - },5000) + // this.chatcount = setInterval(()=>{ + // this.chat() + // },5000) this.createWalletAddress(); this.getAuthInfo() } diff --git a/pages/reg/index.vue b/pages/reg/index.vue index 8e9b474..3994c2a 100644 --- a/pages/reg/index.vue +++ b/pages/reg/index.vue @@ -255,13 +255,15 @@ export default { this.$toast(this.$t('common.c14')); return; } - if(!this.form.country_code||!this.form.phone){ + if(!this.form.country_id||!this.form.phone){ this.$toast(this.$t('common.phonenumber')); return; } this.form.type=this.form.type - this.form.country_code = this.country_code || 86; + // this.form.country_code = this.country_code || 86; + this.form.country_code = this.form.country_id || 86; + // console.log(this.form); Member.register(this.form).then((res) => { @@ -378,7 +380,7 @@ export default { }), getCountry() { serve.get("/getCountryList").then((res) => { - this.setCountryList(res.data); + this.setCountryList(res.data.toReversed()); }); }, },