From eab82102b74620be6ba8f041b00ff2a863ab8326 Mon Sep 17 00:00:00 2001 From: Jz0ojiang Date: Sat, 5 Sep 2026 02:38:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B7=A6=E4=BE=A7=E5=9B=BE=E5=B1=82?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E2=80=94=E2=80=94=E9=80=89=E4=B8=AD/?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E3=80=81=E9=87=8D=E5=91=BD=E5=90=8D=E3=80=81?= =?UTF-8?q?=E6=98=BE=E9=9A=90/=E9=94=81=E5=AE=9A=E3=80=81=E8=A1=8C?= =?UTF-8?q?=E5=86=85=E5=88=A0=E9=99=A4=E3=80=81=E6=8B=96=E6=8B=BD=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E5=B8=A6=E6=8F=92=E5=85=A5=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 数据与操作全部走 useLayers,面板只渲染不另存状态 - 高亮集合由画布 getActiveObjects() 实时派生:selection:* 事件不 bump revision,吃 layers[].selected 会在画布纯点选后保持陈旧 - 拖拽把被拖行收起、其余行顶上,插入线与跟手浮层指示目标缝隙, slot 语义经 Node 脚本对 moveLayerToRow→fabric moveObjectTo 全组合断言 --- src/components/LayersPanel.vue | 590 ++++++++++++++++++++++++++++++++- 1 file changed, 576 insertions(+), 14 deletions(-) diff --git a/src/components/LayersPanel.vue b/src/components/LayersPanel.vue index db49cdc..bca32f5 100644 --- a/src/components/LayersPanel.vue +++ b/src/components/LayersPanel.vue @@ -1,40 +1,602 @@