Merge pull request 'fix:上传存图片路径;' (#132) from yangws into main
Reviewed-on: #132
This commit is contained in:
commit
c64fbe49e9
|
@ -126,6 +126,7 @@ setTimeout(() => {
|
||||||
function submit() {
|
function submit() {
|
||||||
proxy.$refs.userRef.validate((valid) => {
|
proxy.$refs.userRef.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
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.phonenumber,password:props.user.plainpwd}).then(() => {
|
||||||
|
|
Loading…
Reference in New Issue