From 6aa25e52a26033eb6f2ad94055a373a7186297bd Mon Sep 17 00:00:00 2001
From: 劉鈞霖 <benson@gmail.com>
Date: 星期五, 03 十二月 2021 11:50:16 +0800
Subject: [PATCH] [ Update ] :1. 401 登入逾時,跳轉頁面改由router 去做,原先 location 並沒有把 uat 網址參數加上 2. 自訂 錯誤訊息暫時為逗號斷行 3. 驗證碼錯誤 or error 應該刷新驗證碼

---
 PAMapp/pages/consultantLogin/index.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/PAMapp/pages/consultantLogin/index.vue b/PAMapp/pages/consultantLogin/index.vue
index 17d59a5..5154d1e 100644
--- a/PAMapp/pages/consultantLogin/index.vue
+++ b/PAMapp/pages/consultantLogin/index.vue
@@ -117,6 +117,7 @@
           this.loginWithConsultant()
         }else{
           this.clearValue();
+          this.regenerateImgOfVerification();
           ErrorMessageBox('撽�Ⅳ頛詨�隤�');
         }
       });
@@ -135,6 +136,7 @@
     }
     private checkHttpErrorStatus(error:any):void{
       this.clearValue();
+      this.regenerateImgOfVerification();
       switch (error.response.status) {
         case 401:
           const errorMsg = error.response.data.detail;

--
Gitblit v1.8.0