mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 09:25:53 +08:00
feat: ✨ 新增多标签Tab页内嵌模式
This commit is contained in:
@@ -32,6 +32,21 @@ export function enCode(v1) {
|
||||
return v1;
|
||||
}
|
||||
|
||||
import {router} from "@/router/index";
|
||||
/**
|
||||
* 自定义跳转
|
||||
*/
|
||||
export function customRouterPush(push){
|
||||
const setting = window.localStorage.getItem('setting');
|
||||
if(setting.isUseTabsRouter){
|
||||
router.push(push)
|
||||
}
|
||||
else{
|
||||
let url = router.resolve(push);
|
||||
window.open(url.href, '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 订单来源
|
||||
|
||||
Reference in New Issue
Block a user