diff --git a/im/src/main.js b/im/src/main.js index 045a82fe..f3d031fc 100644 --- a/im/src/main.js +++ b/im/src/main.js @@ -28,7 +28,7 @@ Vue.prototype.linkToGoods = function (goodsId, skuId) { // 跳转买家端商 if (localStorage.getItem('storeFlag') == 'false') { window.open(`${config.PC_STORE}goods-operation-edit?id=${goodsId}`, '_blank') } 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) { // 跳转商家端商品 @@ -42,7 +42,7 @@ Vue.prototype.linkToOrders = function (sn) { window.open(`${config.PC_STORE}order-detail?sn=${sn}`, '_blank') } else { // 用户 - window.open(`${config.PC_URL}/OrderDetail?sn=${sn}`, '_blank') + window.open(`${config.PC_URL}home/OrderDetail?sn=${sn}`, '_blank') } };