修正了 pages 名为拼音的问题,以及部分细节

This commit is contained in:
2026-06-13 12:23:44 +08:00
parent 296e41a8a7
commit 6fbae9b32c
57 changed files with 1317 additions and 1463 deletions

View File

@@ -255,7 +255,7 @@ function updateTabBarBadge(app, unreadCount) {
const pages = getCurrentPages();
if (pages.length) {
const page = pages[pages.length - 1];
const tabBar = page.selectComponent('#custom-tab-bar');
const tabBar = page.selectComponent('#tab-bar');
if (tabBar && tabBar.setData) tabBar.setData({ badgeText });
if (page.getTabBar) {
const tb = page.getTabBar();