fix: the clipboard.ts for copying failure.
This commit is contained in:
parent
236ca637f9
commit
0159c8d51d
@ -51,7 +51,6 @@ export function copy(text: string) {
|
||||
textarea.select();
|
||||
try {
|
||||
document.execCommand("copy");
|
||||
document.body.removeChild(textarea);
|
||||
resolve();
|
||||
} catch (e) {
|
||||
document.body.removeChild(textarea);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user