Skip to content

Commit

Permalink
fix: 修复组件ID复制报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JackySoft committed Sep 22, 2024
1 parent 750c776 commit 953fb39
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const ConfigPanel = memo(() => {

// 复制组件ID
const handleCopy = () => {
navigator.clipboard.writeText(selectedElement?.id || pageName);
copy(selectedElement?.id || pageName);
message.info('复制成功');
setCopy(true);
Expand Down

0 comments on commit 953fb39

Please sign in to comment.