摘要:
<List empty={<Empty />} disableAuthentication={false} actions={<CreateListActions solutionname={solutionname} isCreating={isCreating} handleCreate={ha 阅读全文
posted @ 2023-09-20 08:57
前端导师歌谣
阅读(20)
评论(0)
推荐(0)
摘要:
const test:any=data&&data.filter((item:any)=>{ return item.value line_id }) 数据过滤操作 阅读全文
posted @ 2023-09-20 08:56
前端导师歌谣
阅读(9)
评论(0)
推荐(0)
摘要:
const {sort,setSort} = useListController() useEffect(() => { setSort({ field:"id", order:"ASC" }) }, []) 阅读全文
posted @ 2023-09-20 08:56
前端导师歌谣
阅读(12)
评论(0)
推荐(0)
摘要:
<List resource="t_base_style_materiel" queryOptions={ { meta: { columns: ['*', 't_base_materiel!inner(*)'] } } } filter={matId ? { 't_base_materiel.ma 阅读全文
posted @ 2023-09-20 08:55
前端导师歌谣
阅读(12)
评论(0)
推荐(0)
摘要:
<Datagrid rowClick={'expand'} expandSingle={true} expand={<QusEdit open={open} matType={mattype} ></QusEdit>}> <ReferenceField source='part_id' label= 阅读全文
posted @ 2023-09-20 08:55
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
摘要:
import { SimpleForm, TextInput, Edit, UpdateParams, useDataProvider, useResourceContext, Toolbar, SaveButton } from 'react-admin'; import { useNavigat 阅读全文
posted @ 2023-09-20 08:55
前端导师歌谣
阅读(14)
评论(0)
推荐(0)
摘要:
import { Create,SimpleForm, TextInput } from 'react-admin'; import { useNavigate } from "react-router-dom"; export const MaterialTypeAdd = (props:any) 阅读全文
posted @ 2023-09-20 08:54
前端导师歌谣
阅读(9)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-09-20 08:54
前端导师歌谣
阅读(6)
评论(0)
推荐(0)

浙公网安备 33010602011771号