[mod]适配分页返回数据放入data中返回

This commit is contained in:
Carrierli
2026-03-17 16:18:12 +08:00
parent d97c93cc98
commit 82d28a3188
49 changed files with 121 additions and 94 deletions

View File

@@ -145,8 +145,8 @@ const { queryParams } = toRefs(data);
const getList = async () => {
loading.value = true;
const res = await listLeave(queryParams.value);
leaveList.value = res.rows;
total.value = res.total;
leaveList.value = res.data?.rows;
total.value = res.data?.total;
loading.value = false;
};