From ac3f3629a261770f573f27e5e23f7ec19d096c2a Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期三, 04 九月 2024 18:29:05 +0800
Subject: [PATCH] UI授权功能查询

---
 Source/plt-web/plt-web-ui/src/page/login/userlogin.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue b/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
index 7d11644..9122bf3 100644
--- a/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
+++ b/Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
@@ -173,7 +173,10 @@
               text: '鐧诲綍涓�,璇风◢鍚庛�傘�傘��',
               spinner: "el-icon-loading"
             });
-            this.$store.dispatch("LoginByUsername", this.loginForm).then(() => {
+            this.$store.dispatch("LoginByUsername", this.loginForm).then((data) => {
+              if(data.obj.passwordInfo){
+                this.$message.warning(data.obj.passwordInfo);
+              }
               if (this.website.switchMode) {
                 const deptId = this.userInfo.deptOid;
                 const roleId = this.userInfo.userOid;

--
Gitblit v1.9.3