Optimize code

This commit is contained in:
2023-11-01 10:31:14 +08:00
parent 4bfe37acfe
commit d26c4da45f
8 changed files with 24 additions and 17 deletions

View File

@@ -1,10 +1,10 @@
import { getCaptcha, getLocalStorage, removeToken, setLocalStorage } from './common'
import request from '@/services'
import {
STORAGE_TOKEN_KEY,
STORAGE_USER_INFO_KEY,
DATABASE_SELECT_SUCCESS
} from '@/constants/common.constants'
import request from '@/services'
import { URL_API_LOGIN, URL_API_LOGOUT, URL_API_USER_INFO } from '@/constants/urls.constants'
let captcha: Captcha