fix: 过滤组件对小数不支持

This commit is contained in:
fit2cloud-chenyw 2021-12-29 12:08:07 +08:00
parent a58363b166
commit ed63b1d8b0
3 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ class NumberRangeServiceImpl extends WidgetService {
filterFieldMethod(fields) {
return fields.filter(field => {
return field['deType'] === 2
return field['deType'] === 2 || field['deType'] === 3
})
}
}

View File

@ -65,7 +65,7 @@ class NumberSelectGridServiceImpl extends WidgetService {
filterFieldMethod(fields) {
return fields.filter(field => {
return field['deType'] === 2
return field['deType'] === 2 || field['deType'] === 3
})
}

View File

@ -66,7 +66,7 @@ class NumberSelectServiceImpl extends WidgetService {
filterFieldMethod(fields) {
return fields.filter(field => {
return field['deType'] === 2
return field['deType'] === 2 || field['deType'] === 3
})
}