From 60bc0411894c39aafab981d235300bf2dca1cd02 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期四, 11 四月 2024 09:17:33 +0800 Subject: [PATCH] 1、设备利用率、设备开动率以及班次利用率页面查询条件多选框删除至少选择第一项条件的限制条件,即可一项条件都不选 2、设备利用率、设备开动率以及班次利用率页面表格高度设置为页面进入时即可拖动水平滚动条的高度 --- 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