处理修改属性时改变焦点导致图像消失问题
This commit is contained in:
parent
7eda7c0271
commit
c3e7a1f1fe
@ -17,7 +17,7 @@ export function useFormData<T extends GraphicDataBase>(
|
||||
});
|
||||
|
||||
function onUpdate() {
|
||||
const graphic = app.selectedGraphics[0];
|
||||
const graphic = app.queryStore.queryById(data.id);
|
||||
if (graphic) {
|
||||
app.updateGraphicAndRecord(graphic, toRaw(data));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user