mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-30 13:45:16 +08:00
tabbar 跳转问题
This commit is contained in:
@@ -54,7 +54,8 @@ export enum LinkTypeEnum {
|
||||
|
||||
export function navigateTo(link: Link, navigateType: 'navigateTo' | 'reLaunch' = 'navigateTo') {
|
||||
const url = link.query ? `${link.path}?${objectToQuery(link.query)}` : link.path
|
||||
uni[navigateType]({ url })
|
||||
navigateType == 'navigateTo' && uni.navigateTo({ url })
|
||||
navigateType == 'reLaunch' && uni.reLaunch({ url })
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user