forked from github/dataease
fix(仪表板): 修复仪表板目录移动到最顶级需要刷新才显示问题
This commit is contained in:
parent
f22bc0055a
commit
a1c44bf492
@ -351,7 +351,7 @@ export function insertTreeNode(nodeInfo, tree) {
|
||||
if (!nodeInfo) {
|
||||
return
|
||||
}
|
||||
if (nodeInfo.pid === 0 || nodeInfo.pid === '0') {
|
||||
if (nodeInfo.pid === 0 || nodeInfo.pid === '0' || nodeInfo.pid === 'panel_list') {
|
||||
tree.push(nodeInfo)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user