Browse Source

list别名

ZL 2 tháng trước cách đây
mục cha
commit
528b325b18
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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,