田源
2024-07-16 386f7e24fb132deacb829a86aeb723dd1d1172eb
Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
@@ -74,7 +74,7 @@
          //用户名
          username: "admin",
          //密码
          password: "admin",
          password: "",
          selectInput:'',
          //下拉input数据
          value:'管理组',
@@ -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;