让被选文字清除。清除选中的内容 window.getSelection ? window.getSelection().removeAllRanges() : document.selection.empty();