mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs
This commit is contained in:
parent
09dbc049e9
commit
7b4e647c1f
@ -46,14 +46,6 @@ router.beforeEach((route, redirect, next) => {
|
||||
next();
|
||||
});
|
||||
|
||||
router.afterEach((route) => {
|
||||
if (route.path !== '/') {
|
||||
// const sideNavBox = document.querySelector('.side-nav');
|
||||
// const pageContentBox = document.querySelector('.page-content');
|
||||
// pageContentBox.style.height = Math.max(sideNavBox && sideNavBox.clientHeight, pageContentBox && pageContentBox.clientHeight) + 'px';
|
||||
}
|
||||
});
|
||||
|
||||
new Vue({ // eslint-disable-line
|
||||
render: h => h(App),
|
||||
router
|
||||
|
Loading…
x
Reference in New Issue
Block a user