@@ -63,7 +63,7 @@ router.beforeEach((to, from, next) => {
next({ name: 'login' });
}
else {
- document.title = to.name || '默认标题';
+ document.title = to.meta.title || '默认标题';
next();
});