Showing
2 changed files
with
3 additions
and
10 deletions
... | ... | @@ -339,8 +339,6 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { |
339 | 339 | render: (text, record) => { |
340 | 340 | const isShowAdd = (record && checkShowAdd(record)); |
341 | 341 | const isShowTree = (record && checkShowTree(record)); |
342 | - console.log('isShowTree', isShowTree) | |
343 | - console.log('isShowAdd', isShowAdd) | |
344 | 342 | return ( |
345 | 343 | <Space size="small"> |
346 | 344 | {isShowAdd && ( |
... | ... | @@ -598,7 +596,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { |
598 | 596 | <DatePicker |
599 | 597 | defaultValue={ |
600 | 598 | qxProps?.min |
601 | - ? moment(qxProps.min, formatEnum[qxProps?.format]) | |
599 | + ? moment(qxProps.min) | |
602 | 600 | : undefined |
603 | 601 | } |
604 | 602 | format={formatEnum[qxProps?.format]} |
... | ... | @@ -613,8 +611,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { |
613 | 611 | ~ |
614 | 612 | <DatePicker |
615 | 613 | defaultValue={ |
616 | - qxProps?.max | |
617 | - ? moment(qxProps.max, formatEnum[qxProps?.format]) | |
614 | + qxProps?.min | |
615 | + ? moment(qxProps.max) | |
618 | 616 | : undefined |
619 | 617 | } |
620 | 618 | format={formatEnum[qxProps?.format]} | ... | ... |
... | ... | @@ -276,8 +276,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { |
276 | 276 | |
277 | 277 | const handleCancel = (num: number) => { |
278 | 278 | setInputKey(num); |
279 | - console.log('_cancel', num); | |
280 | - console.log('inputkey', inputKey); | |
281 | 279 | setVisible(false); |
282 | 280 | }; |
283 | 281 | |
... | ... | @@ -505,7 +503,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { |
505 | 503 | e.persist(); |
506 | 504 | const parentNode = e.currentTarget.parentNode.parentNode.parentNode; |
507 | 505 | const currentNode = e.target.parentNode; |
508 | - console.log('currentNode', currentNode); | |
509 | 506 | if (!!parentNode) { |
510 | 507 | parentNode.style.backgroundColor = ''; |
511 | 508 | } |
... | ... | @@ -534,8 +531,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { |
534 | 531 | if (!val || _.isEmpty(val)) { |
535 | 532 | return; |
536 | 533 | } |
537 | - console.log('val', val) | |
538 | - console.log('data', data) | |
539 | 534 | const _newData = cloneDeep(treeData); |
540 | 535 | const _qxProps = {}; |
541 | 536 | ... | ... |