Commit 90b7e8b0 by zhaochengxiang

etl映射配置数据源可以清空

parent 8ef05f78
...@@ -39,6 +39,7 @@ const DataSourceSelect = (props) => { ...@@ -39,6 +39,7 @@ const DataSourceSelect = (props) => {
style={{ width: 120 }} style={{ width: 120 }}
onChange={handleChange} onChange={handleChange}
value={value} value={value}
allowClear
> >
{ {
(selectData||[]).map((item, index) => { (selectData||[]).map((item, index) => {
...@@ -216,7 +217,7 @@ const ETLConfigModal = (props) => { ...@@ -216,7 +217,7 @@ const ETLConfigModal = (props) => {
} }
const onDatasouceChange = (value, index) => { const onDatasouceChange = (value, index) => {
const newEtlMapping = {...etlMappings[index], replaceSystemId: value}; const newEtlMapping = {...etlMappings[index], replaceSystemId: value||''};
setLoading(true); setLoading(true);
dispatch({ dispatch({
......
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