Compare commits
2 Commits
6f5eee4289
...
c19631eb89
Author | SHA1 | Date |
---|---|---|
朱浩 | c19631eb89 | |
朱浩 | b8896bf53d |
|
@ -129,7 +129,7 @@ function submit() {
|
||||||
props.user.avatar = userStore.user.avatar
|
props.user.avatar = userStore.user.avatar
|
||||||
updateUserInfo(props.user).then((response) => {
|
updateUserInfo(props.user).then((response) => {
|
||||||
if(response.code == 200){
|
if(response.code == 200){
|
||||||
userStore.login({username:props.user.phonenumber,password:props.user.plainpwd}).then(() => {
|
userStore.login({username:props.user.userName,password:props.user.plainpwd}).then(() => {
|
||||||
userStore.getInfo().then(res => {
|
userStore.getInfo().then(res => {
|
||||||
if(res.code === 200){
|
if(res.code === 200){
|
||||||
ElMessage.success('修改成功')
|
ElMessage.success('修改成功')
|
||||||
|
|
Loading…
Reference in New Issue