var elm = document.querySelectorAll("aa")[0]; console.log(elm.nextSibling);
收起
querySelectorAll()里面要写上正确的选择器~
报告相同问题?