From bd95a6030cdeeb3acea564441d0c71feb6e708e2 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期一, 25 三月 2024 18:21:03 +0800 Subject: [PATCH] tabBar问题调整 --- pages/bookServices/assort/index.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/pages/bookServices/assort/index.js b/pages/bookServices/assort/index.js index d10b5cd..f86fa21 100644 --- a/pages/bookServices/assort/index.js +++ b/pages/bookServices/assort/index.js @@ -39,6 +39,11 @@ * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず */ onShow() { + if (typeof this.getTabBar === 'function' && this.getTabBar()) { + this.getTabBar().setData({ + active: 1 + }) + } }, /** -- Gitblit v1.9.1