history标签功能
This commit is contained in:
@@ -107,7 +107,6 @@ router.beforeEach((to, from, next) => {
|
||||
// 如果页面存在,正常跳转
|
||||
next();
|
||||
}
|
||||
next();
|
||||
} else {
|
||||
// 如果页面不存在,可以跳转到404页面或者其他页面
|
||||
next('/404');
|
||||
|
||||
Reference in New Issue
Block a user