From f8ca9c2d83e3d6fcb669fa3041705e4e62371ffa Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Fri, 20 Mar 2026 16:52:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=A5=AD=E5=8D=A1=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 8 ++++---- src/pages.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 301c64b..2347a49 100644 --- a/src/App.vue +++ b/src/App.vue @@ -47,10 +47,10 @@ export default { }, async _initTabbar() { const userSetting = this._getUserSetting() - if (userSetting.teenagerEnable) { - uni.setTabBarItem({ index: 1, visible: false }) - } else { - uni.setTabBarItem({ index: 1, visible: true }) + if (userSetting.teenagerEnable) { + uni.setTabBarItem({ index: 1, visible: false }) + } else { + uni.setTabBarItem({ index: 1, visible: true }) } }, // 上报开屏广告 diff --git a/src/pages.json b/src/pages.json index 1c69301..f3205bd 100644 --- a/src/pages.json +++ b/src/pages.json @@ -291,7 +291,7 @@ } ] }, - "condition" : { //模式配置,仅开发期间生效 + "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [ { @@ -301,4 +301,4 @@ } ] } -} +} \ No newline at end of file