田源
2024-11-22 b5a92e910be8e1d58f34c40440f2680ffbc6e024
整合代码&&登录用户名添加校验
已修改2个文件
7 ■■■■ 文件已修改
Source/plt-web/plt-web-ui/src/page/login/userlogin.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/test.vue 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/page/login/userlogin.vue
@@ -212,6 +212,10 @@
      done();
    },
    handleLogin() {
      if (!this.loginForm.username) {
        this.$message.error('请输入用户名');
        return;
      }
      if (!this.loginForm.password) {
        this.$message.error('请输入密码');
        return;
@@ -250,7 +254,8 @@
                });
                return false;
              }
            };
            }
            ;
            this.$router.push({path: this.tagWel.value});
            loading.close();
Source/plt-web/plt-web-ui/src/views/test.vue