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

This commit is contained in:
TermiNexus committed 2026-06-13 12:23:44 +08:00
1 parent 296e41a8a7
commit 6fbae9b32c
57 files changed
+1317 -1463

No files matched your search

+1 -1
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();