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) => { diff --git a/FrontEnd/pages/user/index.vue b/FrontEnd/pages/user/index.vue index 595336d..75242e5 100644 --- a/FrontEnd/pages/user/index.vue +++ b/FrontEnd/pages/user/index.vue @@ -191,8 +191,18 @@ }, }, }, - + created(){ + + }, mounted(){ + if(this.$auth.$storage.getUniversal('userAccount') && this.$auth.$storage.getUniversal('userPassword')){ + this.remember = true; + + }else{ + this.remember = false; + + } + var userAccount = this.$auth.$storage.getUniversal('userAccount'); var userPassword = this.$auth.$storage.getUniversal('userPassword');