fix(login): 隐藏登录页租户栏并同步调整校验规则

- 删除登录页 userlogin 组件中租户输入框的 el-form-item 及相关 DOM
- 移除登录表单 loginRules 中 tenantId 的校验规则
- 保留 loginForm.tenantId 默认值和 getTenant 方法,保证后端兼容
- 说明接口正常时仍会覆盖默认 tenantId,方便后续启用租户栏另外开启配置
This commit is contained in:
2026-09-02 16:50:49 +08:00
parent 4ffceb0413
commit 94da08e7a7
5 changed files with 19 additions and 23 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ app.use(ElementPlus, {
});
app.use(Avue, {
axios,
calcHeight: 10,
calcHeight: -26,
crudOption: {
searchIcon: true,
searchIndex: 4,