Commit dcb9cce8 authored by 肖健's avatar 肖健

修复跳转问题

parent c4a153b6
......@@ -11,15 +11,16 @@ export function goToLocation(item) {
let token = uni.getStorageSync('userToken')
if (!token) {
uni.setStorageSync('jdNavToObj', item)
let returnPage= '/pages/main';
let pageType = "reLaunch"
uni.navigateTo({
url: '/pages/login/index/index'
url:"/pages/login/index/index?returnPage="+returnPage+'&pageType='+pageType
})
return
}
let url
//H5链接,判断链接是否设置
if(item.busType == 1 && item.link){
util.navigateToH5({page:url})
util.navigateToH5({page:item.link})
}
//小程序链接,需要判断链接和appId是否都设置
if(item.busType == 2 && item.appId != null && item.link){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment