mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 02:41:46 +08:00
docs
This commit is contained in:
parent
09dbc049e9
commit
7b4e647c1f
@ -46,14 +46,6 @@ router.beforeEach((route, redirect, next) => {
|
|||||||
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
|
new Vue({ // eslint-disable-line
|
||||||
render: h => h(App),
|
render: h => h(App),
|
||||||
router
|
router
|
||||||
|
Loading…
x
Reference in New Issue
Block a user