F 修复未分配主机权限的普通用户可能出现白屏的问题

pull/586/head
vapao 2022-07-15 20:19:16 +08:00
parent 8811793ff3
commit 33411ae46b
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Store {
this.rawRecords.map(item => this.idMap[item.id] = item);
this.groups = res2.groups;
this.rawTreeData = res2.treeData;
this.group = this.treeData[0];
this.group = this.treeData[0] || {};
}))
.finally(() => {
this.isFetching = false;