Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过它的输出标记来获取检票口组件?我有 ajax 函数来发送两个 markupId-s,我想获得两个打印这些 id-s 的组件。
AMarkupContainer和他的孩子有一个迭代器。Components有方法getMarkupId()。您可以遍历此迭代器并检查子 a 是否具有所需的标记 ID。
MarkupContainer
Component
getMarkupId()