设置鼠标移动的时候文字不被选中

window.getSelection?window.getSelection().removeAllRanges():document.selection.empty()

    推荐阅读