mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-11-04 10:57:08 +08:00 
			
		
		
		
	refactor: eslint src --fix
This commit is contained in:
		@@ -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()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user