Browse Source

fix 會員edit Personal Info 上傳頭像

上傳頭像成功後再打一次get Member Info API並顯示修改成功
Dev
Janie 2 years ago
parent
commit
0f789971e8
  1. 4
      FrontEnd/locales/zh-tw.json
  2. 7
      FrontEnd/pages/user/editPersonalInfo.vue

4
FrontEnd/locales/zh-tw.json

@ -492,7 +492,9 @@
"Notice Details": "備註",
"Notice": "備註",
"Payment Details": "付款詳細資訊",
"Banking Details": "銀行帳戶資訊"
"Banking Details": "銀行帳戶資訊",
"Add Contact": "新增聯絡資訊"

7
FrontEnd/pages/user/editPersonalInfo.vue

@ -485,8 +485,11 @@ export default {
if(response && response.data){
this.isCropImageDialogActive = !this.isCropImageDialogActive;
this.patchUserData();
this.fetchUserData();
this.$notify({
type: "success",
text: "更新成功",
});
}
})
.catch((error) => {

Loading…
Cancel
Save