补充提交
parent
5470253626
commit
b133502062
|
@ -37,7 +37,8 @@ import {router} from "@/router/index";
|
||||||
* 自定义跳转
|
* 自定义跳转
|
||||||
*/
|
*/
|
||||||
export function customRouterPush(push){
|
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){
|
if(setting.isUseTabsRouter){
|
||||||
router.push(push)
|
router.push(push)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue