feat: 新增多标签Tab页内嵌模式

This commit is contained in:
Yer
2023-07-06 11:44:15 +08:00
parent 3c83179579
commit 6b697f9ecd
38 changed files with 255 additions and 136 deletions

View File

@@ -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');
}
}
/**
* 订单来源