fix: 完善模板可视化编辑闭环与通用验收
This commit is contained in:
1 parent
fa6b492bce
commit
22a82dbfba
39 files changed
+7773
-443
No files matched your search
@@ -44,7 +44,7 @@ export function ComponentTemplatePreview({
|
||||
if (target?.composite) composite = candidate;
|
||||
candidate = candidate.parentElement?.closest<HTMLElement>("[data-editor-target]") ?? null;
|
||||
}
|
||||
return composite ?? deepest;
|
||||
return deepest ?? composite;
|
||||
},
|
||||
[targets],
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user