初学 React,尝试在项目中使用 AntDesignPro 这个脚手架。
求大神教一下这段代码怎么看
state = {
addInputValue: '',
modalVisible: false,
expandForm: false,
selectedRows: [],
formValues: {},
};
是什么意思?
另外
@connect(state => ({
rule: state.rule,
}))
@Form.create()
对做了什么处理?
原文件
https://github.com/ant-design/ant-design-pro/blob/master/src/routes/List/TableList.js