mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
fix: 修复上下移动高亮状态丢失问题
Change-Id: Id4963402ba05b654dc03f8fcb733b72629f05ec1
This commit is contained in:
parent
7cd294a0ed
commit
f8333e2308
@ -1158,9 +1158,9 @@ export class EditorManager {
|
||||
const event = this.trigger('before-move', context);
|
||||
if (!event.prevented) {
|
||||
store.moveUp(node.id);
|
||||
this.buildToolbars();
|
||||
|
||||
// this.buildToolbars();
|
||||
this.trigger('after-move', context);
|
||||
this.trigger('after-update', context);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1189,9 +1189,9 @@ export class EditorManager {
|
||||
const event = this.trigger('before-move', context);
|
||||
if (!event.prevented) {
|
||||
store.moveDown(node.id);
|
||||
this.buildToolbars();
|
||||
|
||||
// this.buildToolbars();
|
||||
this.trigger('after-move', context);
|
||||
this.trigger('after-update', context);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user