Compare commits
2 Commits
acbd36ca88
...
c64fbe49e9
Author | SHA1 | Date |
---|---|---|
yangws | c64fbe49e9 | |
yangws | 3c2dbb722a |
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue