$(".dropdown-menu li").on("click", function (e) { e.stopPropagation(); }); 停止传播事件 转载于:https://www.cnblogs.com/codeDevotee/p/9914662.html