提交 924224ff 编写于 作者: 雪洛's avatar 雪洛

fix: 修复条件编译错误

上级 b6b44820
...@@ -1694,6 +1694,7 @@ ...@@ -1694,6 +1694,7 @@
} }
}, },
// #endif // #endif
// #ifndef WEB
{ {
"path": "pages/component/animation-view/animation-view", "path": "pages/component/animation-view/animation-view",
"group": "0,5,3", "group": "0,5,3",
...@@ -1702,6 +1703,7 @@ ...@@ -1702,6 +1703,7 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
// #endif
// #ifdef APP || WEB // #ifdef APP || WEB
{ {
"path": "uni_modules/uni-pay-x/pages/success/success", "path": "uni_modules/uni-pay-x/pages/success/success",
......
...@@ -87,7 +87,7 @@ export function generateMenu(tabBarType : string) : (MenuItem | null)[] { ...@@ -87,7 +87,7 @@ export function generateMenu(tabBarType : string) : (MenuItem | null)[] {
return removeNullItem(res) return removeNullItem(res)
} }
function hasPageGroup(value : string | null) : boolean { function hasPageGroup(value ?: string | null) : boolean {
// #ifdef APP-ANDROID // #ifdef APP-ANDROID
return value !== null return value !== null
// #endif // #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册