fix(web): Web 检查 - 格式化拆分模块并修正源码断言

拆分出的前端模块未按 Prettier 格式化导致 CI 格式检查失败;源码断言改为忽略空白差异,导演台引导组件恢复别名导入。同时移除误提交的分析草稿、pnpm 锁文件和调试测试。
This commit is contained in:
ddcat666
2026-09-30 10:32:17 +08:00
parent b1d854ee51
commit fe17e3747a
22 changed files with 1197 additions and 2137 deletions

View File

@@ -47,7 +47,6 @@ export function formatDateTime(value?: string | null) {
return new Intl.DateTimeFormat("zh-CN", { year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", hour12: false }).format(date).replaceAll("/", "-");
}
export function isMutationResultUncertain(error: unknown) {
if (!(error instanceof ApiError)) return true;
return error.status === undefined || error.retryable || error.status >= 500;