From 0f789971e8b13341e46c1544c54cfd51cf48a414 Mon Sep 17 00:00:00 2001 From: Janie <109517022+Janie06@users.noreply.github.com> Date: Thu, 9 Mar 2023 09:37:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=9C=83=E5=93=A1edit=20Personal=20Info?= =?UTF-8?q?=20=E4=B8=8A=E5=82=B3=E9=A0=AD=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 上傳頭像成功後再打一次get Member Info API並顯示修改成功 --- FrontEnd/locales/zh-tw.json | 4 +++- FrontEnd/pages/user/editPersonalInfo.vue | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/FrontEnd/locales/zh-tw.json b/FrontEnd/locales/zh-tw.json index d040970..609c931 100644 --- a/FrontEnd/locales/zh-tw.json +++ b/FrontEnd/locales/zh-tw.json @@ -492,7 +492,9 @@ "Notice Details": "備註", "Notice": "備註", "Payment Details": "付款詳細資訊", - "Banking Details": "銀行帳戶資訊" + "Banking Details": "銀行帳戶資訊", + "Add Contact": "新增聯絡資訊" + diff --git a/FrontEnd/pages/user/editPersonalInfo.vue b/FrontEnd/pages/user/editPersonalInfo.vue index c92a385..1ba9fd5 100644 --- a/FrontEnd/pages/user/editPersonalInfo.vue +++ b/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) => {