fix: 优化预览区域选择提示布局
This commit is contained in:
1 parent
dcf1d76944
commit
00edcedbcf
2 files changed
+11
-3
No files matched your search
@@ -89,7 +89,9 @@ export function ComponentTemplatePreview({
|
||||
position(node, outlines.selected);
|
||||
host.append(node);
|
||||
}
|
||||
for (const outline of outlines.composite) {
|
||||
for (const outline of outlines.composite.filter(
|
||||
(item) => item.key !== selection?.targetKey,
|
||||
)) {
|
||||
const node = document.createElement("button");
|
||||
node.type = "button";
|
||||
node.className = "component-template-preview__composite-select";
|
||||
|
||||
Reference in new issue
Block a user