mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
补充提交
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user