refactor: remove console

This commit is contained in:
fantasticit 2022-04-29 17:17:43 +08:00
parent 9b71742869
commit 2123dbbc32
1 changed files with 0 additions and 2 deletions

View File

@ -80,7 +80,6 @@ function copy(text, options) {
e.clipboardData.setData(item.format || format, item.text || item); e.clipboardData.setData(item.format || format, item.text || item);
} }
}); });
console.log(e.clipboardData);
} else { } else {
e.clipboardData.setData(format, text); e.clipboardData.setData(format, text);
} }
@ -117,7 +116,6 @@ function copy(text, options) {
} else { } else {
window.clipboardData.setData(format, text); window.clipboardData.setData(format, text);
} }
console.log(window.clipboardData, '1');
options.onCopy && options.onCopy(window.clipboardData); options.onCopy && options.onCopy(window.clipboardData);
success = true; success = true;
} catch (err) { } catch (err) {