forked from gzzfw/frontEnd/gzDyh

liuwh
2024-09-14 68f41dad70cc9c90b87258d91300576d7f5682e7
gz-customerSystem/src/api/apiHandler.js
@@ -54,8 +54,8 @@
export function request(value = {}) {
  let token = getSessionStorage("customerSystemToken");
  // 无token时
  if (!token && value.url !== "ctAccount/login") {
  // 无token、非登录、非网格单点跳转时
  if (!value.isGrid && !token && value.url !== "ctAccount/login") {
    catchApiError({
      content: "抱歉!登录状态已失效请重新登录",
      loginStatus: "lose",