diff --git a/front/src/main.js b/front/src/main.js
index a24e5800..c43d1b20 100644
--- a/front/src/main.js
+++ b/front/src/main.js
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-03-29 17:48:03
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-05 15:04:47
+ * @LastEditTime: 2022-07-07 09:22:56
* @Description: 告诉大家这是什么
*/
import { createApp } from 'vue'
@@ -51,9 +51,3 @@ router.beforeEach((to, from, next) => {
document.body.scrollTop = 0
next()
})
-// 解决bug:页面/路由跳转后,滚动条消失,页面无法滚动
-router.afterEach((to, from, next) => {
- document
- .querySelector('body')
- .setAttribute('style', 'overflow: auto !important;')
-})
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index 2d232f3f..aa448adc 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -20,7 +20,7 @@
{{ item.name }}
-
+
-->
-
+