Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 13s
Test / e2e-test (push) Failing after 1m23s
- 区分「取消」(null) 和「清空名称后确认」(空字符串) 两种情况 前者静默返回,后者提示「请输入配方名称」 - 添加 console.log/error 方便在浏览器控制台定位问题 - 成功 toast 改为「已保存!可在「配方查询 → 我的配方」查看」提示去向 - 错误 toast 延长至 3s,并显示 status code - saveRecipe:loadRecipes 失败不再抛出,保证保存成功后不误报失败 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>