补充提交

master
Yer 2023-07-06 15:37:59 +08:00
parent 5470253626
commit b133502062
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ import {router} from "@/router/index";
* 自定义跳转
*/
export function customRouterPush(push){
const setting = window.localStorage.getItem('setting');
const setting = window.localStorage.getItem('setting') ? JSON.parse(window.localStorage.getItem('setting')) : {};
if(setting.isUseTabsRouter){
router.push(push)
}