This commit is contained in:
Zheng Jie
2022-07-29 13:05:39 +08:00
parent e5e9ff4471
commit 55acfe0fdc

View File

@@ -15,6 +15,11 @@ router.beforeEach((to, from, next) => {
if (to.meta.title) {
document.title = Config.title + ' - ' + to.meta.title
}
if (document.querySelector('.wwads-vertical')) {
var ele = document.querySelector('.wwads-vertical').parentElement.parentElement
ele.style.maxHeight = 'unset'
ele.firstChild.hidden = true
}
NProgress.start()
if (getToken()) {
// 已登录且要跳转的页面是登录页