im路径跳转
parent
cc31b6232f
commit
42a24d854b
|
@ -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')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue