11
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user