Skip to content

Commit

Permalink
fix(autoimport): 修复语法错误
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaojob committed May 30, 2024
1 parent fab147c commit 9e9332d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hooks/usePageList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
* @Author: 秦少卫
* @Date: 2024-05-29 15:39:20
* @LastEditors: 秦少卫
* @LastEditTime: 2024-05-30 15:04:06
* @LastEditTime: 2024-05-30 15:22:25
* @Description: 通用分页
*/

import qs from 'qs';
import { ref } from 'vue';

const APIHOST = import.meta.env.APP_APIHOST;
export default function usePageList({ el, apiClient, filters = {}, sort = [], formatData }) {
Expand Down Expand Up @@ -49,7 +50,7 @@ export default function usePageList({ el, apiClient, filters = {}, sort = [], fo
sort: sort,
pagination: {
page: page.value,
pageSize: page.pageSize,
pageSize: page.value.pageSize,
},
};

Expand Down

0 comments on commit 9e9332d

Please sign in to comment.