Эх сурвалжийг харах

fix 用户管理分页bug

yujinwen 2 сар өмнө
parent
commit
b26f1db6e8

+ 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,