zlyx
2023-02-17 895e19768bd35263236ba39dea86360a3b7c5ee7
update login.vue 获取租户列表时默认选取第一个租户信息 ;
已修改1个文件
3 ■■■■■ 文件已修改
ruoyi-ui/src/views/login.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/login.vue
@@ -138,6 +138,9 @@
    getTenantList() {
      tenantList().then(res => {
        this.tenantList = res.data;
        if (this.tenantList != null && this.tenantList.length !== 0) {
          this.loginForm.tenantId = this.tenantList[0].tenantId;
        }
      });
    },
    getCookie() {