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);
|
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) {
|
||||||
|
|
Loading…
Reference in New Issue