mirror of https://github.com/fantasticit/think.git
refactor: remove console
This commit is contained in:
parent
9b71742869
commit
2123dbbc32
|
@ -80,7 +80,6 @@ function copy(text, options) {
|
|||
e.clipboardData.setData(item.format || format, item.text || item);
|
||||
}
|
||||
});
|
||||
console.log(e.clipboardData);
|
||||
} else {
|
||||
e.clipboardData.setData(format, text);
|
||||
}
|
||||
|
@ -117,7 +116,6 @@ function copy(text, options) {
|
|||
} else {
|
||||
window.clipboardData.setData(format, text);
|
||||
}
|
||||
console.log(window.clipboardData, '1');
|
||||
options.onCopy && options.onCopy(window.clipboardData);
|
||||
success = true;
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in New Issue