Skip to content

Commit

Permalink
chore: 更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 committed Nov 18, 2023
1 parent bdc8d35 commit 5bee1a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,37 +51,37 @@
"qs": "^6.11.2",
"url": "^0.11.3",
"vue": "3.3.8",
"vue-i18n": "9.6.5",
"vue-i18n": "9.7.0",
"vue-json-pretty": "^2.2.4",
"vue-router": "^4.2.5",
"vue-types": "^5.1.1"
},
"devDependencies": {
"@commitlint/cli": "^18.4.1",
"@commitlint/config-conventional": "^18.4.0",
"@iconify/json": "^2.2.142",
"@commitlint/cli": "^18.4.2",
"@commitlint/config-conventional": "^18.4.2",
"@iconify/json": "^2.2.143",
"@intlify/unplugin-vue-i18n": "^1.5.0",
"@purge-icons/generated": "^0.9.0",
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.7",
"@types/lodash-es": "^4.17.11",
"@types/node": "^20.9.0",
"@types/node": "^20.9.1",
"@types/nprogress": "^0.2.3",
"@types/qrcode": "^1.5.5",
"@types/qs": "^6.9.10",
"@types/sortablejs": "^1.15.5",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@unocss/transformer-variant-group": "^0.57.4",
"@vitejs/plugin-legacy": "^4.1.1",
"@vitejs/plugin-vue": "^4.4.1",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"@unocss/transformer-variant-group": "^0.57.5",
"@vitejs/plugin-legacy": "^5.0.0",
"@vitejs/plugin-vue": "^4.5.0",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"autoprefixer": "^10.4.16",
"chalk": "^5.3.0",
"consola": "^3.2.3",
"eslint": "^8.53.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-define-config": "^1.24.1",
"eslint-define-config": "^2.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.18.1",
"esno": "^4.0.0",
Expand All @@ -104,9 +104,9 @@
"stylelint-order": "^6.0.3",
"terser": "^5.24.0",
"typescript": "5.2.2",
"unocss": "^0.57.4",
"vite": "4.5.0",
"vite-plugin-ejs": "^1.6.4",
"unocss": "^0.57.5",
"vite": "5.0.0",
"vite-plugin-ejs": "^1.7.0",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-mock": "2.9.6",
"vite-plugin-progress": "^0.0.7",
Expand Down
4 changes: 2 additions & 2 deletions src/config/axios/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import router from '@/router'
import {
AxiosConfig,
AxiosResponse,
Expand All @@ -7,6 +6,7 @@ import {
} from './types'
import { ElMessage } from 'element-plus'
import qs from 'qs'

import { useStorage } from '@/hooks/web/useStorage'

const { clear } = useStorage()
Expand Down Expand Up @@ -74,7 +74,7 @@ const defaultResponseInterceptors = (response: AxiosResponse<any>) => {
if (response?.data?.code === 401) {
// token过期
clear()
router.push('/login')
window.location.reload()
}
}
}
Expand Down

0 comments on commit 5bee1a0

Please sign in to comment.