From e6528b4b3bb5cc22b5749d80cbda3026fedbb0fb Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Thu, 7 Jul 2022 09:23:12 +0800
Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1BUG=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/main.js | 8 +-------
front/src/views/home/components/header.vue | 8 ++------
2 files changed, 3 insertions(+), 13 deletions(-)
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 }}
-
+
-->
-
+