From c5864be56488bee0c767d4b1cf157db4a0ec33c3 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 26 三月 2024 10:47:38 +0800 Subject: [PATCH] 关于我们bug --- pages/student/index.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/pages/student/index.js b/pages/student/index.js index 9a56f81..6911ad5 100644 --- a/pages/student/index.js +++ b/pages/student/index.js @@ -26,7 +26,11 @@ * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず */ onShow() { - + if (typeof this.getTabBar === 'function' && this.getTabBar()) { + this.getTabBar().setData({ + active: 2 + }) + } }, /** -- Gitblit v1.9.1