| | |
| | | import useUserStore from '@/store/modules/user'; |
| | | import useSettingsStore from '@/store/modules/settings'; |
| | | import usePermissionStore from '@/store/modules/permission'; |
| | | import { ElMessage } from "element-plus"; |
| | | |
| | | NProgress.configure({ showSpinner: false }); |
| | | const whiteList = ['/login', '/register', '/social-callback']; |
| | |
| | | import { MessageBoxData } from 'element-plus'; |
| | | import { ElLoading, ElMessage, ElMessageBox, ElNotification, MessageBoxData } from "element-plus"; |
| | | import { LoadingInstance } from 'element-plus/es/components/loading/src/loading'; |
| | | let loadingInstance: LoadingInstance; |
| | | export default { |
| | |
| | | import { encryptBase64, encryptWithAes, generateAesKey } from '@/utils/crypto'; |
| | | import { encrypt } from '@/utils/jsencrypt'; |
| | | import router from "@/router"; |
| | | import { ElLoading, ElMessage, ElNotification } from "element-plus"; |
| | | |
| | | let downloadLoadingInstance: LoadingInstance; |
| | | // 是否显示重新登录 |
| | |
| | | await userStore.logout() |
| | | |
| | | console.log(code, 'code=============='); |
| | | router.push({ path: '/login' }); |
| | | await router.push({ path: '/login' }); |
| | | // prettier-ignore |
| | | // if (!isRelogin.show) { |
| | | // // isRelogin.show = true; |