Commit 2cef5d5a28a1de47813381437b88238ff3f8cb3b

Authored by 陈洋
2 parents 82eabd7b 324b47f1

Merge remote-tracking branch 'origin/feature/dataflow' into feature/dataflow

... ... @@ -235,7 +235,17 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => {
235 235 const { qxProps } = data;
236 236 value = moment(value).format(formatEnum[qxProps?.format] || 'YYYY-MM-DD');
237 237 }
238   -
  238 + else if (code == 'qxProps-min' || code == 'qxProps-max') {
  239 + if (value) {
  240 + value = Number(value)
  241 + if (isNaN(value)) {
  242 + value = null
  243 + }
  244 + } else {
  245 + value = null
  246 + }
  247 + console.log('value', value);
  248 + }
239 249 if (code == 'type') {
240 250 if (data.child && data.child.length > 0) {
241 251 message.error('该节点含有子节点,无法更改类型,请重试!');
... ...