Commit 5f52acd8 by zhangxw

bug修复

1 parent 7952368c
......@@ -568,7 +568,7 @@ Component({
this.setData({
listData,
pageNum: pageNum + 1,
nothing: data?.total == listData.reduce((acc, curr) => acc + curr?.receptionStaticInfoDTOList?.length, 0)
nothing: data?.total == listData.reduce((acc, curr) => acc + curr?.receptionStaticInfoDTOList?.length, 0) || pageNum == data?.pages
})
} else {
wx.$util.showToast(message)
......
......@@ -173,7 +173,7 @@ Page({
listData,
pageNum: pageNum + 1,
triggered: false,
nothing: listDataLength == data?.total || pageNum + 1 == data?.pages
nothing: listDataLength == data?.total || pageNum == data?.pages
})
} else {
wx.$util.showToast(message)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!