mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-11 10:34:02 +00:00
fix: the action of history would not update outline tree
This commit is contained in:
parent
19935cfc93
commit
2d98f1c9b5
@ -30,6 +30,10 @@ export class Tree {
|
|||||||
treeNode?.notifyExpandableChanged();
|
treeNode?.notifyExpandableChanged();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
doc?.history.onChangeCursor(() => {
|
||||||
|
this.root?.notifyExpandableChanged();
|
||||||
|
});
|
||||||
|
|
||||||
doc?.onChangeNodeProp((info: IPublicTypePropChangeOptions) => {
|
doc?.onChangeNodeProp((info: IPublicTypePropChangeOptions) => {
|
||||||
const { node, key } = info;
|
const { node, key } = info;
|
||||||
if (key === '___title___') {
|
if (key === '___title___') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user