From 3ed11c5aacc25c469e8591f66249f5f52c9e8428 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期三, 16 二月 2022 16:38:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/Phase3' into Phase3 --- PAMapp/pages/agentInfo/edit/_agentNo.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/PAMapp/pages/agentInfo/edit/_agentNo.vue b/PAMapp/pages/agentInfo/edit/_agentNo.vue index a79b577..1ed9e6c 100644 --- a/PAMapp/pages/agentInfo/edit/_agentNo.vue +++ b/PAMapp/pages/agentInfo/edit/_agentNo.vue @@ -260,12 +260,15 @@ import { taiwanCities } from '~/shared/const/taiwan-cities'; const localStorageTest = namespace('localStorage'); +const loginStore = namespace('login.store'); @Component export default class AgentInfoComponent extends Vue { @localStorageTest.State('current_role') - currentRole!:string | null; + + @loginStore.Action + updateConsultantDetail!: (agentInfo: AgentInfo) => AgentInfo; _agentInfoSetting!: AgentInfoSetting; agentInfo! : AgentInfo @@ -391,6 +394,7 @@ serveArea: this.editInfoValue.serveArea.join('��'), } accountSettingService.editAgentInfoSetting(editSettingInfo).then((res: AgentInfoSetting) => { + this.updateConsultantDetail(editSettingInfo.agentNo); this.isInfoUpdate = true; }); } -- Gitblit v1.8.0