This commit is contained in:
cookfront 2017-03-22 18:35:35 +08:00
parent 09dbc049e9
commit 7b4e647c1f

View File

@ -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