Skip to content

Commit

Permalink
F 修复未分配主机权限的普通用户可能出现白屏的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Jul 15, 2022
1 parent 8811793 commit 33411ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spug_web/src/pages/host/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 33411ae

Please sign in to comment.