This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user