Showing
2 changed files
with
4 additions
and
2 deletions
| ... | ... | @@ -660,6 +660,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { |
| 660 | 660 | </div> |
| 661 | 661 | ); |
| 662 | 662 | case 'FORM': |
| 663 | + console.log('FORM ====', '数据变化'); | |
| 663 | 664 | return ( |
| 664 | 665 | <div |
| 665 | 666 | key={record.id} |
| ... | ... | @@ -740,10 +741,10 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { |
| 740 | 741 | widget={typeTranslateWidget(record.type)} |
| 741 | 742 | fieldType={typeTranslateFieIdtype(record.type)} |
| 742 | 743 | fieldGroupType={typeTranslateGrouptype(record.type)} |
| 743 | - isMixValue={typeTranslateFieIdtype(record.type) == 'STRING' ? true : false} | |
| 744 | + isMixValue={typeTranslateFieIdtype(record.type) === 'STRING'} | |
| 744 | 745 | isMultiple={false} |
| 745 | 746 | colsTree={props.nodeItem} |
| 746 | - showFieldOpt={nodeType == 'START' ? false : true} | |
| 747 | + showFieldOpt={!(nodeType === 'START')} | |
| 747 | 748 | onChange={debounce((val) => handleField(val), 700)} |
| 748 | 749 | /> |
| 749 | 750 | </div> | ... | ... |