fix(submit): 移除调料数据为空的检查限制

- 注释掉调味料数据为空时的验证逻辑
- 允许在没有调料信息的情况下继续提交流程
- 保持原有的数据转换和追加功能不变
This commit is contained in:
2026-04-23 10:31:02 +08:00
parent 3581975ab0
commit 441cffe4da
@@ -271,10 +271,10 @@ class SubmitFoodActivity : BaseActivity() {
return return
} }
val seasoningData = seasoningAdapter.items val seasoningData = seasoningAdapter.items
if (seasoningData.isEmpty()) { // if (seasoningData.isEmpty()) {
toast("未获取到调料信息") // toast("未获取到调料信息")
return // return
} // }
showLoading() showLoading()
// 将调料数据转为 CookFoodGoodsEntity 追加到 goodsList // 将调料数据转为 CookFoodGoodsEntity 追加到 goodsList