mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 14:04:28 +00:00
fix: the action of history would not update outline tree
This commit is contained in:
parent
7bde669510
commit
a3ab0e4b24
@ -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