🎈 perf(购物页面): 添加分页功能]

This commit is contained in:
xuan
2022-11-18 17:12:28 +08:00
parent 0ab2b22be5
commit 8deb8e56f0
5 changed files with 61 additions and 26 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ export default () => {
const { fetchData: clitentFetch, state: orderState } = ClientListApi()
//数据加载状态
const statusMore = useMemo(() => {
return dataLoadingStatus({ list: clentList.list, total: clentList.total, status: orderState.loading })
return dataLoadingStatus({ list: clentList.list, total: clentList.total, status: orderState.loading! })
}, [clentList, orderState])
const [clientObj, setclientObj] = useState({
@@ -152,4 +152,4 @@ export default () => {
</View>
)
}
}