document.getElementsByClassName('accordion'); for (i = 0; i < acc.length; i++) { }; }
} 我从编译器中检索到以下错误 src/app/components/status/status.component.ts(16,16):错误元素中的错误:类型‘TS2339’上不存在</em
我在运行代码时得到错误Property 'attribs' does not exist on type 'Element'。我不知道它为什么要抛出这个错误。我检查了cheerio的类型定义,发现attribs是TagElement的属性。我不知道如何修复它,因为它会自动选择用于Element的element类型。selection = $('td:nth-child(1) .spaceit_pad'),
filtere