const handleTreeData = () => {
dataProviders.getStyleTree('t_prod_category', 't_prod_style').then((res: any) => {
let data: ITreeDataList = {
name: "品类管理"
}
data.children = res
setTreeDataList(data)
})
}
前端项目实战贰佰叁拾壹react-admin+material ui-react-admin-获取树状结构的数据处理
最新推荐文章于 2024-08-22 17:38:39 发布