docs: align shared-module comments with actual edge cases

This commit is contained in:
cieanyau committed 2026-11-06 00:45:49 +08:00
1 parent 3af9eddd3f
commit deb7c3b3cd
14 files changed
+20 -19

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ function o(e) {
e.filter((e) => e.kind !== `explain`).map((e) => [e.id, (e.kind, ``)]),
);
}
/** 逐字段检查必填、选项值和可本地执行的正则;布尔字段按后端约定归一为 "1"/空串。 */
/** 检查必填、选项和可本地执行的正则;校验时将布尔值视为 "1"/空串,不修改传入表单。 */
function s(e, t) {
for (let n of e) {
if (n.kind === `explain`) continue;