随笔分类 -  react

摘要:使用proTable设置操作列固定 const columns: ProColumns<IssueItem>[] = [ { title: '操作', valueType: 'option', key: 'option', width: 120, fixed: 'right' //这里设置了固定 } 阅读全文

posted @ 2022-06-16 16:37 凡凡0410 阅读(1161) 评论(0) 推荐(0) 编辑 |

摘要:需求: 这个规则组ID的 下拉列表是通过向后端请求获取的,如何设置自定义渲染列表,并且默认有值 let groupLists = [] as any, //规则组列表 defaultValue = ''; //默认值 const formRef = useRef<ProFormInstance>() 阅读全文

posted @ 2022-05-09 16:43 凡凡0410 阅读(2897) 评论(0) 推荐(0) 编辑 |

摘要:原博 : https://blog.csdn.net/FengZi_00/article/details/122127889 react-router-dom从V5升级到V6后,有些使用做了一些改变: <Switch>重命名为<Routes>。 <Route>的新特性变更。 嵌套路由变得更简单。 用 阅读全文

posted @ 2022-04-12 11:34 凡凡0410 阅读(359) 评论(0) 推荐(0) 编辑 |

随笔 - 116, 文章 - 0, 评论 - 6, 阅读 - 19万

Copyright © 2025 凡凡0410
Powered by .NET 9.0 on Kubernetes

点击右上角即可分享
微信分享提示