Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Dec 24, 2024
1 parent 6f98da8 commit d16fbde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ export function processClipboardContent(primaryColor: string) {
section.innerHTML = parent.innerHTML

const grand = parent.parentElement!
grand.innerHTML = `` // 清空父元素
// 清空父元素
grand.innerHTML = ``
grand.appendChild(section)
})
}

0 comments on commit d16fbde

Please sign in to comment.