Explorar el Código

修改获取用户接口

yanglzh hace 2 años
padre
commit
ab9e29ab88
Se han modificado 1 ficheros con 2 adiciones y 7 borrados
  1. 2 7
      src/views/system/manage/org/component/edit.vue

+ 2 - 7
src/views/system/manage/org/component/edit.vue

@@ -110,14 +110,9 @@ export default defineComponent({
       },
     });
 
-    api.user
-      .getList({
-        status: -1,
-        pageNum: 1,
-        pageSize: 50,
-      })
+    api.user.getAllList({})
       .then((res: any) => {
-        userList.value = res.list;
+        userList.value = res;
       })
 
     // 打开弹窗