ZL преди 2 месеца
родител
ревизия
528b325b18
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      jeecgboot-vue3/src/views/system/role/index.vue

+ 2 - 2
jeecgboot-vue3/src/views/system/role/index.vue

@@ -45,7 +45,7 @@ import RolePermissionDrawer from './components/RolePermissionDrawer.vue';
 import RoleIndexModal from './components/RoleIndexModal.vue';
 import RoleUserTable from './components/RoleUserTable.vue';
 import { columns, searchFormSchema } from './role.data';
-import { list, deleteRole, batchDeleteRole, getExportUrl, getImportUrl } from './role.api';
+import { list as getrolelist, deleteRole, batchDeleteRole, getExportUrl, getImportUrl } from './role.api';
 import { appList } from '../menu/menu/menu.api';
 import { useListPage } from '/@/hooks/system/useListPage';
 const showFooter = ref(true);
@@ -71,7 +71,7 @@ const { prefixCls, tableContext, onImportXls, onExportXls } = useListPage({
   designScope: 'role-template',
   tableProps: {
     title: '系统角色列表',
-    api: list,
+    api: getrolelist,
     columns: columns,
     striped: true,
     immediate: false,