修改未完成

This commit is contained in:
rain
2026-07-29 18:15:59 +08:00
parent 6fbcf21024
commit 8c2355a52c
59 changed files with 7995 additions and 1118 deletions
+3 -3
View File
@@ -31,7 +31,7 @@ const fs = require("fs");
const routeKeys = Object.keys(ROUTES);
const routePaths = routeKeys.map((routeKey) => ROUTES[routeKey].path);
assert.strictEqual(routeKeys.length, 52, "路由注册表必须恰好包含 52 条活动路由");
assert.strictEqual(routeKeys.length, 53, "路由注册表必须恰好包含 53 条活动路由");
assert.deepStrictEqual(routeKeys, expectedRouteKeys, "路由键集合和顺序必须来自 pages.json 的页面编号");
assert.deepStrictEqual(routePaths, registeredPaths, "路由路径集合和顺序必须与 pages.json 精确一致");
assert(Object.isFrozen(ROUTES), "ROUTES 必须冻结");
@@ -78,8 +78,8 @@ const fs = require("fs");
}
assert.deepStrictEqual(
Array.from(ROUTES.T03.resultOperations),
["member-open-requested"],
"T03 当前只能保留 single 页面激活实际使用的页内打开结果",
["member-open-requested", "member-updated"],
"T03 当前必须保留成员打开与编辑完成后的返回结果",
);
const expectedFamilyParams = {
F01: { required: [], optional: ["genealogyId"] },