Browse Source

Fix workId undefined, close #246

pull/273/head
afc163 9 years ago
parent
commit
c206828c60
  1. 2
      src/routes/Forms/TableForm.js

2
src/routes/Forms/TableForm.js

@ -88,7 +88,7 @@ export default class TableForm extends PureComponent {
this.clickedCancel = false;
return;
}
const target = this.getRowByKey(key);
const target = this.getRowByKey(key) || {};
if (!target.workId || !target.name || !target.department) {
message.error('请填写完整成员信息。');
e.target.focus();

Loading…
Cancel
Save