UNPKG

ttk-app-core

Version:

@ttk/recat enterprise develop framework

20 lines (19 loc) 549 B
import React, {useEffect} from 'react' import { Layout } from 'antd' import { useActions } from '@ttk/app-loader' import CardTree from './components/CardTree' import CardForm from './components/CardForm' import "./style.less" export default function (props) { const actions = useActions(props) useEffect(() => { actions.getTreeData() actions.getGusType() }, []) return ( <Layout className="ttk-table-app-simplelist dictionary-manage edfx-deptPers"> <CardTree {...props} /> <CardForm {...props} /> </Layout> ) }