fix(fragment): 修复删除本地菜品后网络数据未恢复显示
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -60,8 +60,9 @@ class DishListFragment : BaseFragment<FragmentDishListBinding>() {
|
||||
.setNegativeButton("取消")
|
||||
.setPositiveButton("删除") {
|
||||
activity.deleteCookFoodAndGoods(foodId = list[position].foodId ?: "") {
|
||||
removeAt(position)
|
||||
activity.toast("已删除")
|
||||
pageNo = 1
|
||||
getDishList()
|
||||
}
|
||||
}
|
||||
.show()
|
||||
|
||||
Reference in New Issue
Block a user