feat(welcome): 站点外观 - 增加欢迎页开放开关并修复入口分包

This commit is contained in:
MasterChiefCN committed 2026-09-15 11:10:12 +08:00
1 parent 71a9a0e7f7
commit 88c24c120f
16 files changed
+216 -3

No files matched your search

@@ -368,6 +368,7 @@ function parseFeatureAvailability(value: unknown): FeatureAvailability {
if (typeof record[key] !== "boolean") throw new Error("功能开放配置响应缺少有效开关状态");
}
return {
welcomeEnabled: record.welcomeEnabled as boolean,
shortDramaEnabled: record.shortDramaEnabled as boolean,
taskCenterEnabled: record.taskCenterEnabled as boolean,
creditsEnabled: record.creditsEnabled as boolean,