bw-mini-app/src
imeepos d91274a6dd fix: 优化首页审核功能的类型安全和错误处理
**类型安全优化**:
- 为 handleAuditFailure 函数添加完整的 Record<AuditConclusion, string> 类型
- 添加 AuditConclusion.PASS 枚举项以保持类型完整性
- 使用可选链操作符安全访问 auditResult.conclusion

**错误处理优化**:
- 改进 loadingState 类型检查,使用 typeof 确保类型安全
- 优化错误信息的条件判断逻辑

**文档更新**:
- 添加 hooks 和 sdk 相关的 prompt.md 文档文件
2025-09-08 16:22:45 +08:00
..
actions feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
assets fix: 修改图标颜色 2025-09-04 20:26:08 +08:00
components feat: 集成图片审核功能到首页业务流程 2025-09-08 16:08:29 +08:00
constants feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
hooks fix: 优化首页审核功能的类型安全和错误处理 2025-09-08 16:22:45 +08:00
pages fix: 优化首页审核功能的类型安全和错误处理 2025-09-08 16:22:45 +08:00
platforms feat: 增加广告观看功能,优化下载按钮和提示文本 2025-09-04 23:21:55 +08:00
reducers feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
sdk fix: 优化首页审核功能的类型安全和错误处理 2025-09-08 16:22:45 +08:00
selectors feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
store fix: 修改图标颜色 2025-09-04 20:26:08 +08:00
utils feat: 新增 ImageAudit 组件及演示页面 2025-09-08 13:50:59 +08:00
app.config.ts feat: 集成图片审核功能到首页业务流程 2025-09-08 16:08:29 +08:00
app.css feat: 配置 TailwindCSS 并迁移到 Redux 2025-09-03 16:33:06 +08:00
app.tsx fix: 修复log日志重复加载 2025-09-04 22:22:19 +08:00
index.html feat: 初始化 Taro 3.8 图生图风格转换小程序项目 2025-09-01 11:22:03 +08:00