forked from github/dataease
Merge pull request #4887 from dataease/pr@dev@fix_panel-view-lose
fix(仪表板): 修复首次新建的仪表板不刷新界面直接移动造成内部视图丢失的问题
This commit is contained in:
commit
4b120c7339
@ -373,7 +373,12 @@ export function insertBatchTreeNode(nodeInfoArray, tree) {
|
||||
}
|
||||
}
|
||||
|
||||
export function updateCacheTree(opt, treeName, nodeInfo, tree) {
|
||||
export function updateCacheTree(opt, treeName, nodeInfoFull, tree) {
|
||||
const nodeInfo = {
|
||||
...nodeInfoFull,
|
||||
panelData: null,
|
||||
panelStyle: null
|
||||
}
|
||||
if (opt === 'new' || opt === 'copy') {
|
||||
insertTreeNode(nodeInfo, tree)
|
||||
} else if (opt === 'move') {
|
||||
|
Loading…
Reference in New Issue
Block a user