[mod]适配分页返回数据放入data中返回
This commit is contained in:
@@ -153,8 +153,8 @@ const computedIds = (data) => {
|
||||
const getList = () => {
|
||||
loading.value = true;
|
||||
api.listRole(proxy?.addDateRange(queryParams.value, dateRange.value)).then((res) => {
|
||||
roleList.value = res.rows;
|
||||
total.value = res.total;
|
||||
roleList.value = res.data?.rows;
|
||||
total.value = res.data?.total;
|
||||
loading.value = false;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user