[mod]适配分页返回数据放入data中返回
This commit is contained in:
@@ -101,8 +101,8 @@ const queryParams = reactive<UserQuery>({
|
||||
const getList = async () => {
|
||||
loading.value = true;
|
||||
const res = await allocatedUserList(queryParams);
|
||||
userList.value = res.rows;
|
||||
total.value = res.total;
|
||||
userList.value = res.data?.rows;
|
||||
total.value = res.data?.total;
|
||||
loading.value = false;
|
||||
};
|
||||
// 返回按钮
|
||||
|
||||
Reference in New Issue
Block a user