From 24847a9ca50716e984d5df628f9977783d4d7589 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期一, 18 七月 2022 23:41:58 +0800
Subject: [PATCH] update: [login] 串接新 API

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

diff --git a/PAMapp/pages/login/index.vue b/PAMapp/pages/login/index.vue
index aab6969..b9d611e 100644
--- a/PAMapp/pages/login/index.vue
+++ b/PAMapp/pages/login/index.vue
@@ -429,7 +429,7 @@
   login() {
     const login: LoginVerify = this.setLoginInfo();
     this.removeOtpTime();
-    loginService.loginVerify(login).then(res => {
+    loginService.loginVerify(login, this.otpCode).then(res => {
       this.storageIdToken(res.id_token);
       this.storageRole(Role.USER);
       this.phoneSuccessConfirmVisable = true;

--
Gitblit v1.8.0