mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-12 22:35:37 +08:00
fix(custom): 自定义跳转
This commit is contained in:
@@ -86,7 +86,7 @@ function SpTabbar() {
|
||||
if (TABBAR_PATH[tabItem.name] !== navipage) {
|
||||
let url =
|
||||
tabItem.name == 'customPage'
|
||||
? `${TABBAR_PATH[tabItem.name]}?isTabBar=true&id=${tabItem.customPageId}`
|
||||
? `${TABBAR_PATH[tabItem.name]}?isTabBar=true&id=${tabItem.customPageId || tabItem.customPage.id}`
|
||||
: TABBAR_PATH[tabItem.name]
|
||||
Taro.redirectTo({ url })
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user