diff --git a/seller/src/utils/filters.js b/seller/src/utils/filters.js index 06864eb4..356d25f3 100644 --- a/seller/src/utils/filters.js +++ b/seller/src/utils/filters.js @@ -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) }