Skip to content

Commit

Permalink
修复复制后导致被聚焦问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Jan 7, 2021
1 parent ac00c86 commit 1829f71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ function copyText (content: string | number): boolean {
copyElem.select()
copyElem.setSelectionRange(0, copyElem.value.length)
result = doc.execCommand('copy')
copyElem.blur()
} catch (e) {}
return result
}
Expand Down

0 comments on commit 1829f71

Please sign in to comment.