代码提交
This commit is contained in:
@ -15,6 +15,7 @@ export function useRequest() {
|
||||
async function doUpdateAvatar(file) {
|
||||
try {
|
||||
await upload({
|
||||
url:'/member/user/update-avatar',
|
||||
filePath: file.url,
|
||||
name: 'avatarFile'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user