Commit 62320259 authored by zhengke's avatar zhengke

上传头像

parent 9cba1eb7
......@@ -191,10 +191,9 @@ const beforeAvatarUpload=async (res:any)=>{
loadingImg.value = true
let filePath="/Upload/User/";
let url = await AliyunUpload.UploadAvatar(res, filePath);
if(url!='') {
userInfo.value.photo =url
// await bindHandler()
userInfo.value.photo =url
await bindHandler()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment