소스 검색

对接接口

yellowtaotao 4 년 전
부모
커밋
1c25274fca
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/views/user/userManagementList.vue

+ 5 - 5
src/views/user/userManagementList.vue

@@ -186,12 +186,12 @@ export default {
     // 查询:已有账号列表
     getAdminListFun() {
       this.loading = true;
-      // let params = {
-      //   page: this.pagination.current,
-      //   size: this.pagination.pageSize,
-      // };
+      let params = {
+        page: this.pagination.current,
+        size: this.pagination.pageSize,
+      };
       this.$_http
-        .get(this.$_API.INTERFACE_GET_USER_LIST)
+        .get(this.$_API.INTERFACE_GET_USER_LIST, { params })
         .then((res) => {
           this.tableData = res.data.content;
           this.pagination.total = res.data.totalElements; // 总条数