Commit 5c08dabd authored by ddcat1115's avatar ddcat1115

remove useless code

parent cafec890
...@@ -23,17 +23,6 @@ export default class TableForm extends PureComponent { ...@@ -23,17 +23,6 @@ export default class TableForm extends PureComponent {
} }
index = 0; index = 0;
cacheOriginData = {}; cacheOriginData = {};
handleSubmit = (e) => {
e.preventDefault();
this.props.form.validateFieldsAndScroll((err, values) => {
if (!err) {
this.props.dispatch({
type: 'form/submit',
payload: values,
});
}
});
}
toggleEditable=(e, key) => { toggleEditable=(e, key) => {
e.preventDefault(); e.preventDefault();
const newData = this.state.data.map(item => ({ ...item })); const newData = this.state.data.map(item => ({ ...item }));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment