使用 Element.prototype.attributes document.documentElement.attributes; // 一个类数组对象: NamedNodeMap 相关文章: 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23