mirror of
https://github.com/likeshop-github/likeadmin_go.git
synced 2025-12-24 13:07:57 +08:00
前端框架部分修改
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user