Browse Source

对接接口

yellowtaotao 3 years ago
parent
commit
1c25274fca
1 changed files with 5 additions and 5 deletions
  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; // 总条数