js 复制表格
const selection = window.getSelection();
const range = document.createRange();
const target = document.querySelector('data-content');
selection.removeAllRanges();
range.selectNode(target);
selection.addRange(range);
document.execCommand('copy');
selection.removeAllRanges();