Files
goodBaby/web/frontend
meiandClaude Fable 5 0d766020bc fix: 手动触发全部成功时被误报为失败
trigger 接口的 fails 是 nil 切片,无失败时序列化成 JSON null,
前端读 failed.length 抛异常并落入 catch 分支,把成功显示成"触发失败"。
改为初始化空切片,前端同时加空值兜底。

顺带修复 logstore.trim 用 First 查询保留位置,日志未超出保留条数时
返回 ErrRecordNotFound,导致每写一条日志都刷一行 gorm 警告。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-26 22:34:29 +08:00
..

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.