This commit is contained in:
949036910@qq.com
2026-05-27 23:23:06 +08:00
parent da566efca9
commit 39f93bb09a
2 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { createRouter, createWebHistory } from "vue-router";
import { createRouter, createWebHashHistory } from "vue-router";
import { useAuthStore, ROLE_ADMIN, ROLE_AGENT,ROLE_OEM } from "../stores/auth";
@@ -368,7 +368,7 @@ const routes = [
path: "/:pathMatch(.*)*",
redirect: "/login",
redirect: { name: "login" },
},
@@ -378,7 +378,7 @@ const routes = [
const router = createRouter({
history: createWebHistory(),
history: createWebHashHistory(),
routes,