浏览代码

fix 用户管理分页bug

yujinwen 2 月之前
父节点
当前提交
b26f1db6e8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/customer/user/Index.vue

+ 2 - 2
src/views/customer/user/Index.vue

@@ -59,8 +59,8 @@ const tablePagination = ref({
 let SortParam='',SortType='';
 async function getUserList(){
   const res=await apiCustomerUser.userList({
-    PageSize:tablePagination.pageSize,
-    CurrentIndex:tablePagination.current,
+    PageSize:tablePagination..value.pageSize,
+    CurrentIndex:tablePagination..value.current,
     PositionStatus:filterState.jobStatus===''?-1:filterState.jobStatus,
     Enabled:filterState.accountStatus===''?-1:filterState.accountStatus,
     Keyword:filterState.keyword,