路径判断错误

This commit is contained in:
icssoa
2025-09-16 12:39:05 +08:00
parent 3dcdf36a69
commit 97a25d3c7a

View File

@@ -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")
) {