pc商品列表样式修改,商家注释添加,订单统计,退订单按钮样式

This commit is contained in:
mabo
2021-07-16 17:57:24 +08:00
parent 133febe7a7
commit 07f41f5cb6
31 changed files with 160 additions and 154 deletions

View File

@@ -32,7 +32,11 @@ router.afterEach(route => {
Vue.prototype.linkTo = function (url) {
if (url.substr(0, 1) === '/') { // 非外部链接没有origin只有路由地址
window.open(location.origin + url, '_blank');
if (router.mode === 'hash') {
window.open(location.origin + '/#' + url, '_blank');
} else {
window.open(location.origin + url, '_blank');
}
} else { // 外部链接完整的url地址
window.open(url, '_blank')
}