import { useAjax } from "@/Hook/useAjax" import { getAppAllApi } from "@/services/iaaSystem/application" import ProTable from "@ant-design/pro-table" import React from "react" import tableConfig from "./tableConfig" /** * 应用管理 * @returns */ const UseApp: React.FC = () => { /********************************/ const getAppAll = useAjax(() => getAppAllApi(), { type: 'noPage' }) /********************************/ return <> columns={tableConfig()} cardBordered request={async (params) => { return await getAppAll.run(params) }} editable={{ type: 'multiple', }} rowKey="id" search={false} headerTitle={应用管理} /> } export default UseApp