js 点击复制
const spanText = document.getElementById('Id') const selection = window.getSelection() selection.removeAllRanges() const range = document.createRange() range.selectNodeContents(spanText) selection.addRange(range) document.execComm.


