摘要: 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)
摘要: ​ 目录 前言 导语 代码部分 运行结果 前言 我是歌谣 歌谣的意志是永恒的 放弃很容易 但是坚持一定很酷 导语 实现两栏布局第五种方式 ​编辑 代码部分 ``` 两栏布局第五种 左侧 右侧 ``` 运行结果 ​编辑 ​ 阅读全文
posted @ 2023-08-18 16:08 前端导师歌谣 阅读(7) 评论(0) 推荐(0)