完美
This commit is contained in:
@@ -2324,17 +2324,18 @@ export const PropSidebar: React.FC<PropSidebarProps> = ({
|
||||
<span>粘贴</span>
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => elementClipboard?.copySelectedElements()}
|
||||
disabled={!elementClipboard?.canCopy}
|
||||
className="mobile-design-props-nav-btn"
|
||||
aria-label="复制选中元素"
|
||||
title="复制选中元素"
|
||||
>
|
||||
<Copy className="w-4 h-4" />
|
||||
<span>复制</span>
|
||||
</button>
|
||||
{elementClipboard?.canCopy && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => elementClipboard.copySelectedElements()}
|
||||
className="mobile-design-props-nav-btn"
|
||||
aria-label="复制选中元素"
|
||||
title="复制选中元素"
|
||||
>
|
||||
<Copy className="w-4 h-4" />
|
||||
<span>复制</span>
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => void deleteSelectedElements()}
|
||||
|
||||
Reference in New Issue
Block a user