摘要:
interface IItem{ style_name?:string, code?:string, create_date?:any } const StyleListChild = () => { const { data } = useListContext(); return ( <Cont 阅读全文
posted @ 2023-08-19 21:52
前端导师歌谣
阅读(7)
评论(0)
推荐(0)
摘要:
/* 单个款式的展示页面 */ import { List, WithListContext, useListContext } from "react-admin" import { useParams } from "react-router-dom"; import { Container, 阅读全文
posted @ 2023-08-19 21:52
前端导师歌谣
阅读(6)
评论(0)
推荐(0)
摘要:
import { List, WithListContext } from "react-admin" import { useParams } from "react-router-dom"; import { Container, ListItem, ListItemText } from '@ 阅读全文
posted @ 2023-08-19 21:51
前端导师歌谣
阅读(8)
评论(0)
推荐(0)
摘要:
import { useEffect } from "react"; import { Datagrid, useListContext, ShowButton, BulkDeleteButton, TextField, EditButton, List } from "react-admin" i 阅读全文
posted @ 2023-08-19 21:51
前端导师歌谣
阅读(11)
评论(0)
推荐(0)
摘要:
interface IChildren{ id:number, category_name:string, code:string, t_prop_type:IStyle[] } interface IStyle{ id:number, style_name:string, code:string 阅读全文
posted @ 2023-08-19 21:51
前端导师歌谣
阅读(7)
评论(0)
推荐(0)
摘要:
const { params:id } = useParams(); const { params:id } = useParams(); 阅读全文
posted @ 2023-08-19 21:50
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
摘要:
<List exporter={false} filter={{ category_id: params }} resource="t_prod_style"> <Datagrid bulkActionButtons={<BulkDeleteButton mutationMode="pessimis 阅读全文
posted @ 2023-08-19 21:50
前端导师歌谣
阅读(8)
评论(0)
推荐(0)
摘要:
/* 单个款式的展示页面 */ import { List, WithListContext } from "react-admin" import { useParams } from "react-router-dom"; import { Container, ListItem, ListIt 阅读全文
posted @ 2023-08-19 21:50
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
摘要:
import { List, WithListContext } from "react-admin" import { useParams } from "react-router-dom"; import { Container, ListItem, ListItemText } from '@ 阅读全文
posted @ 2023-08-19 21:49
前端导师歌谣
阅读(11)
评论(0)
推荐(0)