diff --git a/src/views/login.vue b/src/views/login.vue
index 453819d6..16fc39db 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -86,18 +86,18 @@
:model="loginForm"
:rules="LoginRules"
class="login-form">
-
+
+ class="el-input__icon input-icon" />
-
+ -->
@@ -244,25 +244,25 @@ export default {
trigger: 'blur',
},
],
- tenantName: [
- { required: true, trigger: 'blur', message: '租户不能为空' },
- {
- validator: (rule, value, callback) => {
- // debugger
- getTenantIdByName(value).then((res) => {
- const tenantId = res.data;
- if (tenantId && tenantId >= 0) {
- // 设置租户
- setTenantId(tenantId);
- callback();
- } else {
- callback('租户不存在');
- }
- });
- },
- trigger: 'blur',
- },
- ],
+ // tenantName: [
+ // { required: true, trigger: 'blur', message: '租户不能为空' },
+ // {
+ // validator: (rule, value, callback) => {
+ // // debugger
+ // getTenantIdByName(value).then((res) => {
+ // const tenantId = res.data;
+ // if (tenantId && tenantId >= 0) {
+ // // 设置租户
+ // setTenantId(tenantId);
+ // callback();
+ // } else {
+ // callback('租户不存在');
+ // }
+ // });
+ // },
+ // trigger: 'blur',
+ // },
+ // ],
},
loading: false,
redirect: undefined,