feat(auth): 实现认证API和token自动刷新功能
添加认证服务API模块,包括登录、token刷新和验证功能 在axios拦截器中实现token自动刷新机制,处理401错误 更新tsconfig配置以支持ES2020特性 重构API导入路径以使用新的auth模块结构
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": false,
|
||||
"declarationDir": "./dist/types",
|
||||
@@ -26,4 +28,4 @@
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.vue"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user