fork 自 AntDesign 的 pro-blocks。使用区块可以快速生成列表脚手架,区块相关概念参见:
umi block add [block github url]
npm install
npm run start 'block_name'
基本表格列表,弹窗进行数据的新增、编辑,适用于简单表单的数据列表。更多说明见: TableListModal.
umi block add https://github.com/yautah/pro-blocks/tree/master/TableListModal --path=/path --js
基本表格列表,跳转新路由的方式进行数据的新增、编辑,适用于表单较复杂的数据列表。更多说明见: TableListPage.
umi block add https://github.com/yautah/pro-blocks/tree/master/TableListPage --path=/path --js