From 913f86badcc805bac79b9f2350f52eafcba86291 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期二, 26 三月 2024 10:15:12 +0800
Subject: [PATCH] 1、调整单柱图x轴标题显示方式由每隔一个显示改为全显示(保证水平完整放置需旋转标题) 2、新增从分厂级看板返回公司级看板功能 3、按照新需求完成客户工段主管层进入后页面所有布局30%

---
 src/utils/request.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/utils/request.js b/src/utils/request.js
index 4f0c381..26a7423 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -79,7 +79,8 @@
         if (token) {
           store.dispatch('Logout').then(() => {
             setTimeout(() => {
-              window.location.reload()
+              router.push({ path: '/user/login' });
+              // window.location.reload()
             }, 1500)
           })
         }
@@ -169,7 +170,10 @@
             onOk: () => {
               store.dispatch('Logout').then(() => {
                 Vue.ls.remove(ACCESS_TOKEN)
-                window.location.reload()
+                setTimeout(() => {
+                  router.push({ path: '/user/login' });
+                  // window.location.reload()
+                }, 1500)
               })
             }
           })

--
Gitblit v1.9.3