问题描述 html列表展示时,点击enter键会出现蒙版。 解决办法 全局 使用 document.onkeydown = function(e){ if(e.keyCode==13){e.preventDefault();//禁用回车的默认事件 } }