|
|
@ -262,9 +262,11 @@ export default { |
|
|
|
this.$router.back() |
|
|
|
}) |
|
|
|
} else { |
|
|
|
editUser(params).then(() => { |
|
|
|
this.$toast.success('修改成功') |
|
|
|
this.$router.back() |
|
|
|
editUser(params).then((res) => { |
|
|
|
this.$toast.success('修改成功'); |
|
|
|
this.$store.dispatch('getUserInfo').then(()=>{ |
|
|
|
this.$router.push('/mine') |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|