From 924224ff3db57b13641e0e907d92507d5c5e8428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Mon, 15 Jul 2024 19:41:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 ++ pages/tabBar/generateMenu.uts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pages.json b/pages.json index cce5b357..124bfa5b 100644 --- a/pages.json +++ b/pages.json @@ -1694,6 +1694,7 @@ } }, // #endif + // #ifndef WEB { "path": "pages/component/animation-view/animation-view", "group": "0,5,3", @@ -1702,6 +1703,7 @@ "enablePullDownRefresh": false } }, + // #endif // #ifdef APP || WEB { "path": "uni_modules/uni-pay-x/pages/success/success", diff --git a/pages/tabBar/generateMenu.uts b/pages/tabBar/generateMenu.uts index 3b425532..09d0dbbd 100644 --- a/pages/tabBar/generateMenu.uts +++ b/pages/tabBar/generateMenu.uts @@ -87,7 +87,7 @@ export function generateMenu(tabBarType : string) : (MenuItem | null)[] { return removeNullItem(res) } -function hasPageGroup(value : string | null) : boolean { +function hasPageGroup(value ?: string | null) : boolean { // #ifdef APP-ANDROID return value !== null // #endif -- GitLab