mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
build docs
This commit is contained in:
@@ -48,9 +48,9 @@ router.beforeEach((route, redirect, 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';
|
||||
// const sideNavBox = document.querySelector('.side-nav');
|
||||
// const pageContentBox = document.querySelector('.page-content');
|
||||
// pageContentBox.style.height = Math.max(sideNavBox && sideNavBox.clientHeight, pageContentBox && pageContentBox.clientHeight) + 'px';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user