children; if (!children || children.length === 0) return { type: 'leaf' }; // 检测水平/垂直排列模式 const isHorizontal = detectHorizontalAlignment(children); const isVertical = detectVerticalAlignment(children); // 间距一致性检测——判断是均匀间距还是自由定位 const gaps = calculateGaps(children, isHorizontal ?
不要为了 await 而调用 AsTask()。只有方法签名、框架接口或组合 API 明确要求 Task 时,才需要转换。
1.5(2026-07-21)。相对 v0.1.4 共 25 个提交、394 个文件变更。
我在文章上打了标签——「原创」「转载」「社区」。想着标签可以过滤。但实际用起来发现,标签只是给内容加了一个维度,检索的时候你不可能每次都手动筛选标签。