fix:上传存图片路径;

This commit is contained in:
yangws 2024-08-14 16:31:30 +08:00
parent 1e52abc170
commit 3c2dbb722a
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ setTimeout(() => {
function submit() {
proxy.$refs.userRef.validate((valid) => {
if (valid) {
props.user.avatar = userStore.user.avatar
updateUserInfo(props.user).then((response) => {
if(response.code == 200){
userStore.login({username:props.user.phonenumber,password:props.user.plainpwd}).then(() => {