From 6cc1033411bb8ac95011a00c9d34074192a84cf0 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Wed, 6 May 2026 18:54:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E5=86=8C=E7=9A=84?= =?UTF-8?q?=E5=8C=BA=E5=8F=B7=E9=97=AE=E9=A2=98=E5=92=8C=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/base/home.vue | 16 ++++++++-------- pages/reg/index.vue | 8 +++++--- 2 files changed, 13 insertions(+), 11 deletions(-) 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()); }); }, },