From 3acd3870b6b69005cb0a5cd040582bbf3305688f Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Wed, 31 Dec 2025 17:18:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=AE=E5=8A=A8=E5=AF=BC=E8=88=AA):=20?= =?UTF-8?q?=E5=85=B3=E9=94=AE=E9=A1=B5=E9=9D=A2=E5=A7=8B=E7=BB=88=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/hover-nav/hover-nav.vue | 6 +++--- pages/index/index.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/hover-nav/hover-nav.vue b/components/hover-nav/hover-nav.vue index 41b88c8..108fccb 100644 --- a/components/hover-nav/hover-nav.vue +++ b/components/hover-nav/hover-nav.vue @@ -66,8 +66,9 @@ export default { this.kefuimg = this.$util.getDefaultImage().kefu this.phoneimg = this.$util.getDefaultImage().phone + }, + onShow() { this.pageCount = getCurrentPages().length; - // 从店铺信息中获取相关信息 uni.getStorage({ key: 'shopInfo', @@ -80,8 +81,7 @@ export default { // 从店铺信息中获取是否启用语言切换 this.isLanguageSwitchEnabled = e.data.ischina; } - }) - + }) }, computed: { currentLangDisplayName() { diff --git a/pages/index/index.vue b/pages/index/index.vue index d64ffe5..6e69e86 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -136,7 +136,7 @@ - +