feat(custom): i

This commit is contained in:
2023-09-08 10:29:31 +08:00
parent 3b3cb7ba34
commit 363270378a
60 changed files with 1234 additions and 1342 deletions

View File

@@ -4,7 +4,7 @@ import { basicRoutes, EMPTY_ROUTE, NOT_FOUND_ROUTE } from './routes'
import { getToken, isNullOrWhitespace } from '@/utils'
import { useUserStore, usePermissionStore } from '@/store'
const isHash = import.meta.env.VITE_USE_HASH === 'true'
const isHash = true
export const router = createRouter({
history: isHash ? createWebHashHistory('/') : createWebHistory('/'),
routes: basicRoutes,