fix: 还是将 dropLocation 设为非响应式变量, 基于性能考量

This commit is contained in:
力皓 2021-05-25 15:20:43 +08:00
parent e3738cceca
commit 2acc70a422

View File

@ -231,9 +231,9 @@ export class Designer {
this.editor.emit(`designer.${event}`, ...args);
}
@obx.ref private _dropLocation?: DropLocation;
private _dropLocation?: DropLocation;
@computed get dropLocation() {
dropLocation() {
return this._dropLocation;
}