enter image description here enter image description here
也许我们可以使用var everyChild = document.querySelectorAll( XXX )
答案 0 :(得分:0)
const elements = document.querySelector('.photos_choose_rows').querySelectorAll('div > a')
const ids = Array.from(elements).map(el=> el.id);