Fix:修复存在概要时切换主题会报错的问题
This commit is contained in:
parent
766ce310d0
commit
c21ee4960e
@ -244,7 +244,9 @@ class Base {
|
|||||||
isResizeSource ||
|
isResizeSource ||
|
||||||
(newData && JSON.stringify(oldData) !== JSON.stringify(newData))
|
(newData && JSON.stringify(oldData) !== JSON.stringify(newData))
|
||||||
) {
|
) {
|
||||||
gNode.nodeData.data = newData
|
if (newData) {
|
||||||
|
gNode.nodeData.data = newData
|
||||||
|
}
|
||||||
gNode.getSize()
|
gNode.getSize()
|
||||||
gNode.needLayout = true
|
gNode.needLayout = true
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user