From 13da4f1c9f633aa6ae0d03c6f00c6dc5047e331f Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Wed, 15 Jul 2026 11:08:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(util):=20=E4=BF=AE=E6=AD=A3=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=AF=BC=E8=88=AA=E6=A0=8F=E5=88=97=E8=A1=A8=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E5=87=BD=E6=95=B0=E7=9A=84=E5=AF=BC=E5=85=A5=E5=88=AB?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整了systemTabBarList工具函数的导入别名写法,同时将adaptSubpackageUrl加入到导出列表中保持API一致性 --- common/js/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/util.js b/common/js/util.js index e4cfe12..fe88fcb 100644 --- a/common/js/util.js +++ b/common/js/util.js @@ -26,7 +26,7 @@ import { resolvePageUrl as _resolvePageUrl, isPageInRouteList as isPageInRouteListFn, resolveLinkUrl as _resolveLinkUrlPure, - systemTabBarList as _makeSystemTabBarList, + makeSystemTabBarList as _makeSystemTabBarList, adaptSubpackageUrl, isTabBarRootPage as _isTabBarRootPagePure, isCurrentPageTabBarRoot as _isCurrentPageTabBarRootPure, @@ -39,7 +39,7 @@ import { // (直接 re-export util-navigate 的同名函数, 保持 API 兼容) // ============================================================= -export { decodeEntity, cleanParamUrls, _toParamValueString }; +export { decodeEntity, cleanParamUrls, _toParamValueString, adaptSubpackageUrl }; /** * 把 URL 上的 page_params 还原成对象。是 _toParamValueString 的逆操作。