Commit fe07fb7d authored by 左玲玲's avatar 左玲玲 😬

0909

parent 2f59c6ee
......@@ -396,6 +396,14 @@ const Mtable = (props) => {
...newparams,
}));
}
for (let i in params) {
let itemType = columns.filter(it => it.key == i)?.[0]?.valueType ?? '';
if (itemType && (itemType == 'dateTimeRange' || itemType == 'dateRange' || itemType == 'timeRange' || itemType == 'checkbox')) {
if (params[i] === '') {
params[i] = undefined;
}
}
}
dataSourceFieldsChange && dataSourceFieldsChange(params)
}}
onSizeChange={(size) => {
......
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