fix:修复bug
This commit is contained in:
+10
-10
@@ -287,11 +287,11 @@
|
||||
`${k}=${encodeURIComponent(current.options[k])}`).join('&') : ''
|
||||
const redirect = encodeURIComponent(query ? `${route}?${query}` : route)
|
||||
uni.reLaunch({
|
||||
url: `/pages/login/index?redirect=${redirect}`
|
||||
url: `/subPackages/user/login/index?redirect=${redirect}`
|
||||
})
|
||||
} catch (e) {
|
||||
uni.reLaunch({
|
||||
url: '/pages/login/index'
|
||||
url: '/subPackages/user/login/index'
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -407,7 +407,7 @@
|
||||
} else if (config.linkType === 'external' && config.linkUrl) {
|
||||
// 跳转到外部链接(H5页面)
|
||||
uni.navigateTo({
|
||||
url: `/pages/webview/index?url=${encodeURIComponent(config.linkUrl)}`
|
||||
url: `/subPackages/other/webview/index?url=${encodeURIComponent(config.linkUrl)}`
|
||||
})
|
||||
} else if (config.linkType === 'internal' && config.linkUrl) {
|
||||
// 跳转到内部页面
|
||||
@@ -875,7 +875,7 @@
|
||||
|
||||
const goMy = () => {
|
||||
uni.navigateTo({
|
||||
url: '/pages/my/index'
|
||||
url: '/subPackages/user/my/index'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -906,13 +906,13 @@
|
||||
|
||||
// 跳转到商品详情页面,传递商品ID
|
||||
uni.navigateTo({
|
||||
url: `/pages/device/goods?productId=${productId}`
|
||||
url: `/subPackages/business/device-goods?productId=${productId}`
|
||||
})
|
||||
} else {
|
||||
console.warn('没有查询到商品数据')
|
||||
// 如果没有商品数据,仍然跳转到商品页面(显示空状态)
|
||||
uni.navigateTo({
|
||||
url: '/pages/device/goods'
|
||||
url: '/subPackages/business/device-goods'
|
||||
})
|
||||
}
|
||||
} catch (error) {
|
||||
@@ -921,7 +921,7 @@
|
||||
|
||||
// 即使查询失败,也跳转到商品页面
|
||||
uni.navigateTo({
|
||||
url: '/pages/device/goods'
|
||||
url: '/subPackages/business/device-goods'
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -1061,14 +1061,14 @@
|
||||
success: () => {
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({
|
||||
url: `/pages/order/payment?orderId=${unpaidOrder.orderId}`
|
||||
url: `/subPackages/order/payment?orderId=${unpaidOrder.orderId}`
|
||||
});
|
||||
}, 100);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: `/pages/order/payment?orderId=${unpaidOrder.orderId}`
|
||||
url: `/subPackages/order/payment?orderId=${unpaidOrder.orderId}`
|
||||
});
|
||||
}
|
||||
} else {
|
||||
@@ -1171,7 +1171,7 @@
|
||||
// 使用指南弹窗控制
|
||||
const openPopup = () => {
|
||||
uni.navigateTo({
|
||||
url:'/pages/device/goods'
|
||||
url:'/subPackages/business/device-goods'
|
||||
})
|
||||
// try {
|
||||
// showGuidePopup.value = true
|
||||
|
||||
Reference in New Issue
Block a user