update login.vue 获取租户列表时默认选取第一个租户信息 ;
This commit is contained in:
parent
173261e644
commit
895e19768b
@ -138,6 +138,9 @@ export default {
|
||||
getTenantList() {
|
||||
tenantList().then(res => {
|
||||
this.tenantList = res.data;
|
||||
if (this.tenantList != null && this.tenantList.length !== 0) {
|
||||
this.loginForm.tenantId = this.tenantList[0].tenantId;
|
||||
}
|
||||
});
|
||||
},
|
||||
getCookie() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user