diff --git a/frontend/src/component/feature/form/strategy-configure.jsx b/frontend/src/component/feature/form/strategy-configure.jsx index cafd6cdbd0..f5a074598c 100644 --- a/frontend/src/component/feature/form/strategy-configure.jsx +++ b/frontend/src/component/feature/form/strategy-configure.jsx @@ -13,6 +13,7 @@ const style = { minWidth: '300px', maxWidth: '100%', margin: '5px 20px 15px 0px', + background: '#f2f9fc', }; class StrategyConfigure extends React.Component { diff --git a/frontend/src/component/feature/form/strategy-input-list.jsx b/frontend/src/component/feature/form/strategy-input-list.jsx index b2a4301c6a..71f611b61c 100644 --- a/frontend/src/component/feature/form/strategy-input-list.jsx +++ b/frontend/src/component/feature/form/strategy-input-list.jsx @@ -48,9 +48,9 @@ export default class InputList extends Component { } onClose (index) { - const { field, list, setConfig } = this.props; + const { name, list, setConfig } = this.props; list[index] = null; - setConfig(field, list.length === 1 ? '' : list.filter(Boolean).join(',')); + setConfig(name, list.length === 1 ? '' : list.filter(Boolean).join(',')); } render () {