用 querySelectorAll 来查询 DOM 节点

用 querySelectorAll 来查询 DOM 节点

Document.querySelectorAll - Web API 接口 | MDN https://developer.mozilla.org/zh-CN/docs/Web/API/Document/querySelectorAll

NodeList - Web API 接口 | MDN https://developer.mozilla.org/zh-CN/docs/Web/API/NodeList

原文地址:https://www.cnblogs.com/rsapaper/p/9380804.html