From b133502062619aebf409d4726eb9df28275e3451 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Thu, 6 Jul 2023 15:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/utils/filters.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) }