refactor axios.
This commit is contained in:
1 parent
e306e6b463
commit
a3456595a5
4 files changed
+12
-11
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ export function logout() {
|
||||
}
|
||||
|
||||
export function getUserInfo(username: string) {
|
||||
return useAxios("profile", { method: "get", params: { username } }, http, {
|
||||
return useAxios("profile", { params: { username } }, http, {
|
||||
immediate: false,
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user