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