feat(projects): 请求拦截器添加刷新token

This commit is contained in:
Soybean
2022-01-12 19:53:45 +08:00
parent 09c7658c21
commit 839b82ba8b
8 changed files with 213 additions and 126 deletions

View File

@@ -4,7 +4,7 @@
"scripts": {
"dev": "cross-env VITE_HTTP_ENV=test vite",
"dev:prod": "cross-env VITE_HTTP_ENV=prod vite",
"typecheck": "vue-tsc --noEmit",
"typecheck": "vue-tsc",
"build": "npm run typecheck && cross-env VITE_HTTP_ENV=prod vite build",
"build:test": "npm run typecheck && cross-env VITE_HTTP_ENV=test vite build",
"build:vercel": "npm run typecheck && cross-env VITE_HTTP_ENV=prod VITE_IS_VERCEL=1 vite build",
@@ -31,17 +31,17 @@
"dayjs": "^1.10.7",
"form-data": "^4.0.0",
"lodash-es": "^4.17.21",
"naive-ui": "^2.23.2",
"naive-ui": "^2.24.1",
"pinia": "^2.0.9",
"qs": "^6.10.2",
"qs": "^6.10.3",
"vue": "^3.2.26",
"vue-router": "^4.0.12"
},
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@iconify/json": "^1.1.454",
"@iconify/vue": "^3.1.1",
"@iconify/json": "^1.1.455",
"@iconify/vue": "^3.1.2",
"@types/crypto-js": "^4.1.0",
"@types/node": "^17.0.8",
"@types/qs": "^6.9.7",