mirror of
https://gitee.com/freshday/radar.git
synced 2026-03-22 04:37:16 +08:00
fix: http plugin fix a bug
Signed-off-by: feihu.wang <wfh45678@163.com>
This commit is contained in:
@@ -46,12 +46,12 @@ export default class AddPreItem extends React.Component{
|
||||
state['sourceLabel']='';
|
||||
state['args']='';
|
||||
state['status']=1;
|
||||
state['configJson']='';
|
||||
state['configJson']= JSON.stringify({});
|
||||
}
|
||||
state[name] = trim(value);
|
||||
|
||||
if(name=='sourceField'){
|
||||
state['sourceLabel']=this.props.fieldList.filter(x=>x.fieldName==value)[0].label;
|
||||
state['sourceLabel']= this.props.fieldList.filter(x => x.fieldName==value)[0].label;
|
||||
}
|
||||
|
||||
this.setState(state);
|
||||
@@ -83,7 +83,7 @@ export default class AddPreItem extends React.Component{
|
||||
args:'',
|
||||
reqType:'GET',
|
||||
visible:true,
|
||||
configJson:''
|
||||
configJson:JSON.stringify({})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ export default class EditPreItem extends React.Component{
|
||||
state['sourceField']='';
|
||||
state['sourceLabel']='';
|
||||
state['args']='';
|
||||
state['configJson']='';
|
||||
state['configJson']=JSON.stringify({});
|
||||
}
|
||||
state[name] = trim(value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user