fix(fragment): 修复删除本地菜品后网络数据未恢复显示

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-30 09:07:05 +08:00
co-authored by Claude Sonnet 4.6
parent d1569faa85
commit 3842391555
@@ -60,8 +60,9 @@ class DishListFragment : BaseFragment<FragmentDishListBinding>() {
.setNegativeButton("取消")
.setPositiveButton("删除") {
activity.deleteCookFoodAndGoods(foodId = list[position].foodId ?: "") {
removeAt(position)
activity.toast("已删除")
pageNo = 1
getDishList()
}
}
.show()