From aa5b8b8266912d4b02d432049a66d29f56245115 Mon Sep 17 00:00:00 2001 From: Jack <jack.su@pollex.com.tw> Date: 星期五, 26 十一月 2021 18:33:23 +0800 Subject: [PATCH] Merge branch 'master' of ssh://192.168.0.10:29418/pcalife/PAM --- PAMapp/pages/login/index.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/PAMapp/pages/login/index.vue b/PAMapp/pages/login/index.vue index a7b8fa1..865dc7f 100644 --- a/PAMapp/pages/login/index.vue +++ b/PAMapp/pages/login/index.vue @@ -446,6 +446,7 @@ this.applyAccount_onAction = true; const registerInfo = this.setRegisterInfo(); + this.storagePhoneOrEmail(registerInfo); register(registerInfo).then(res => { this.storageIdToken(res.data.id_token); this.storageRole(Role.USER); @@ -455,6 +456,10 @@ }); }; + storagePhoneOrEmail(registerInfo:RegisterInfo):void{ + localStorage.setItem('userInfo',JSON.stringify(registerInfo)); + } + confirmApplySuccess(): void { this.phoneSuccessConfirmVisable = false; this.registerSuccessConfirmVisable = false; -- Gitblit v1.8.0