Commit 5f52acd8 by zhangxw

bug修复

1 parent 7952368c
...@@ -568,7 +568,7 @@ Component({ ...@@ -568,7 +568,7 @@ Component({
this.setData({ this.setData({
listData, listData,
pageNum: pageNum + 1, 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 { } else {
wx.$util.showToast(message) wx.$util.showToast(message)
......
...@@ -173,7 +173,7 @@ Page({ ...@@ -173,7 +173,7 @@ Page({
listData, listData,
pageNum: pageNum + 1, pageNum: pageNum + 1,
triggered: false, triggered: false,
nothing: listDataLength == data?.total || pageNum + 1 == data?.pages nothing: listDataLength == data?.total || pageNum == data?.pages
}) })
} else { } else {
wx.$util.showToast(message) 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!