投注记录增加分页
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-19 17:28:32 +08:00
parent 6844e25cef
commit 57728506da

View File

@@ -126,7 +126,7 @@ const getList = async () => {
PageSize: page.value.size,
});
// console.log(res);
data.value = res.data.map((item) => ({
const arr = res.data.map((item) => ({
type: 1,
qs: `${item.Periods}`,
hm: [item.Name],
@@ -136,6 +136,7 @@ const getList = async () => {
state: item.State,
periods_num: item.PeriodsNum,
}));
data.value.push(arr);
page.value.total = res.data.total || 0;
Taro.hideLoading();
};