refactor: eslint src --fix

This commit is contained in:
2024-04-15 20:35:37 +08:00
parent c75c7092bd
commit 7ecfbb9c15
38 changed files with 187 additions and 227 deletions

View File

@@ -1,5 +1,5 @@
import router from '@/router'
import {useUserStore, useRouteStore, useAppStore} from '@/stores'
import { useUserStore, useRouteStore, useAppStore } from '@/stores'
import { getToken } from '@/utils/auth'
import { isHttp } from '@/utils/validate'
@@ -15,8 +15,8 @@ export const resetHasRouteFlag = () => {
router.beforeEach(async (to, from, next) => {
const userStore = useUserStore()
const routeStore = useRouteStore()
const appStore = useAppStore();
appStore.initWebConfig();
const appStore = useAppStore()
appStore.initWebConfig()
// 判断该用户是否登录
if (getToken()) {