[mod]适配分页返回数据放入data中返回
This commit is contained in:
@@ -100,8 +100,8 @@ const handleSelectionChange = (selection: UserVO[]) => {
|
||||
/** 查询数据 */
|
||||
const getList = async () => {
|
||||
const res = await unallocatedUserList(queryParams);
|
||||
userList.value = res.rows;
|
||||
total.value = res.total;
|
||||
userList.value = res.data?.rows;
|
||||
total.value = res.data?.total;
|
||||
};
|
||||
/** 搜索按钮操作 */
|
||||
const handleQuery = () => {
|
||||
|
||||
Reference in New Issue
Block a user