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 -->