1. 点击其他地方关闭当前下拉菜单 1. 点击其他地方关闭当前下拉菜单let that = thisdocument.addEventListener("click", function(e) { if (e.target.id != "choose01") { that.list_show = false; }});