From 50a16c6f6be7af30993bf1e8efb4d9bef88d8e9b Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 6 Sep 2023 11:13:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=97=A0=E9=99=90=E6=8B=89?= =?UTF-8?q?=E4=BC=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 4 ++++ src/permission.js | 2 +- src/views/yingji/enforcing.vue | 18 ++++++++---------- src/views/yingji/enterprise.vue | 19 ++++++++++--------- src/views/yingji/planManage.vue | 32 +++++++++++++++++++++----------- 5 files changed, 44 insertions(+), 31 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index b340ee4..61df3f8 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -188,4 +188,8 @@ aside { vertical-align: middle; margin-bottom: 10px; } +} +// 隐藏滚动条 +::-webkit-scrollbar { + width: 0 !important;height: 0; } \ No newline at end of file diff --git a/src/permission.js b/src/permission.js index 35e6331..5a445f8 100644 --- a/src/permission.js +++ b/src/permission.js @@ -18,7 +18,7 @@ router.beforeEach((to, from, next) => { to.meta.title && store.dispatch("settings/setTitle", to.meta.title); /* has token*/ if (to.path === "/toLogin") { - next({ path: "/" }); + next(); NProgress.done(); } else { if (store.getters.roles.length === 0) { diff --git a/src/views/yingji/enforcing.vue b/src/views/yingji/enforcing.vue index a5474af..8ff4e48 100644 --- a/src/views/yingji/enforcing.vue +++ b/src/views/yingji/enforcing.vue @@ -4,10 +4,10 @@ * @Author: JC9527 * @Date: 2023-09-04 10:20:06 * @LastEditors: JC9527 - * @LastEditTime: 2023-09-05 15:45:49 + * @LastEditTime: 2023-09-06 11:07:37 -->