摘要: export function isObjectInHierarchy(child, parent) { if (!child || !parent) return false; let o = child; while (o) { if (o parent) return true; o = o. 阅读全文
posted @ 2026-02-04 16:25 SimoonJia 阅读(2) 评论(0) 推荐(0)