From 53332ecb2d4126c7dc871036cdaeea3896efd30f Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 22 七月 2024 16:11:48 +0800 Subject: [PATCH] 调整页面刷新重定向404问题 --- 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