refactor: index.js

This commit is contained in:
liamjung 2022-01-02 13:54:53 +08:00
parent b6018ab7f1
commit e2527ae9d3
1 changed files with 0 additions and 8 deletions

View File

@ -3,12 +3,4 @@ import './custom.css'
export default {
...DefaultTheme,
enhanceApp({router}) {
// 保证页面渲染完成
setTimeout(() => {
if (router.route.path === '/') {
router.go('/guide/')
}
}, 200);
}
}