前端框架部分修改

This commit is contained in:
Yuuux
2023-01-06 17:15:39 +08:00
committed by geeknonerd
parent 6aa3228ce0
commit 024faa013f
31 changed files with 623 additions and 880 deletions

View File

@@ -21,7 +21,7 @@ const axiosHooks: AxiosHooks = {
// 添加token
if (withToken) {
const token = getToken()
headers['like-admin'] = token
headers.token = token
}
// POST请求下如果无data则将params视为data
if (