history标签功能

This commit is contained in:
X1627315083
2024-03-04 16:11:50 +08:00
parent 1dcafb8d5d
commit a459d2abb3
6 changed files with 112 additions and 101 deletions

View File

@@ -107,7 +107,6 @@ router.beforeEach((to, from, next) => {
// 如果页面存在,正常跳转
next();
}
next();
} else {
// 如果页面不存在可以跳转到404页面或者其他页面
next('/404');