mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-03 04:50:32 +08:00
fix: 修复报错
This commit is contained in:
parent
d8eecf35bb
commit
00a94a8042
@ -151,7 +151,7 @@ export default class CaseDesModal extends Component {
|
||||
|
||||
addValues = (key) => {
|
||||
console.log(key);
|
||||
const { setFieldsValue, getFieldValue } = this.props.form;
|
||||
const { getFieldValue } = this.props.form;
|
||||
let values = getFieldValue(key);
|
||||
|
||||
values = values.concat({ name: '', value: '' });
|
||||
|
Loading…
Reference in New Issue
Block a user