18300102974 2 years ago
parent
commit
4e107cfc96
  1. 4
      FrontEnd/locales/zh-tw.json
  2. 7
      FrontEnd/pages/user/editPersonalInfo.vue
  3. 10
      FrontEnd/pages/user/index.vue

4
FrontEnd/locales/zh-tw.json

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

7
FrontEnd/pages/user/editPersonalInfo.vue

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

10
FrontEnd/pages/user/index.vue

@ -191,8 +191,18 @@
}, },
}, },
}, },
created(){
},
mounted(){ 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 userAccount = this.$auth.$storage.getUniversal('userAccount');
var userPassword = this.$auth.$storage.getUniversal('userPassword'); var userPassword = this.$auth.$storage.getUniversal('userPassword');

Loading…
Cancel
Save