这个问题在网上找了好久,只需要在alert事件后面添加上window.getSelection().removeAllRanges(); 就可以解决选中 页面文字的问题了.
转载于:https://www.cnblogs.com/Super-Zhen-/p/5776645.html
这个问题在网上找了好久,只需要在alert事件后面添加上window.getSelection().removeAllRanges(); 就可以解决选中 页面文字的问题了.
转载于:https://www.cnblogs.com/Super-Zhen-/p/5776645.html