Skip to content

Commit 33411ae

Browse files
committed
F 修复未分配主机权限的普通用户可能出现白屏的问题
1 parent 8811793 commit 33411ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spug_web/src/pages/host/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Store {
111111
this.rawRecords.map(item => this.idMap[item.id] = item);
112112
this.groups = res2.groups;
113113
this.rawTreeData = res2.treeData;
114-
this.group = this.treeData[0];
114+
this.group = this.treeData[0] || {};
115115
}))
116116
.finally(() => {
117117
this.isFetching = false;

0 commit comments

Comments
 (0)