路径判断错误
This commit is contained in:
@@ -12,7 +12,7 @@ router.beforeEach((to, next) => {
|
||||
const { user } = useStore();
|
||||
|
||||
if (
|
||||
ignoreToken.includes(to.path) ||
|
||||
ignoreToken.some((e) => to.path.includes(e)) ||
|
||||
to.path.startsWith("/pages/demo") ||
|
||||
to.path.startsWith("/pages/template")
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user