mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 08:25:52 +08:00
im路径跳转
This commit is contained in:
@@ -28,7 +28,7 @@ Vue.prototype.linkToGoods = function (goodsId, skuId) { // 跳转买家端商
|
|||||||
if (localStorage.getItem('storeFlag') == 'false') {
|
if (localStorage.getItem('storeFlag') == 'false') {
|
||||||
window.open(`${config.PC_STORE}goods-operation-edit?id=${goodsId}`, '_blank')
|
window.open(`${config.PC_STORE}goods-operation-edit?id=${goodsId}`, '_blank')
|
||||||
} else {
|
} else {
|
||||||
window.open(`${config.PC_URL}/goodsDetail?skuId=${skuId}&goodsId=${goodsId}`, '_blank')
|
window.open(`${config.PC_URL}goodsDetail?skuId=${skuId}&goodsId=${goodsId}`, '_blank')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Vue.prototype.linkToStore = function (storeId) { // 跳转商家端商品
|
Vue.prototype.linkToStore = function (storeId) { // 跳转商家端商品
|
||||||
@@ -42,7 +42,7 @@ Vue.prototype.linkToOrders = function (sn) {
|
|||||||
window.open(`${config.PC_STORE}order-detail?sn=${sn}`, '_blank')
|
window.open(`${config.PC_STORE}order-detail?sn=${sn}`, '_blank')
|
||||||
} else {
|
} else {
|
||||||
// 用户
|
// 用户
|
||||||
window.open(`${config.PC_URL}/OrderDetail?sn=${sn}`, '_blank')
|
window.open(`${config.PC_URL}home/OrderDetail?sn=${sn}`, '_blank')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user