Merge pull request #1551 from dataease/pr@dev@fix_filter_decimal

fix: 过滤组件对小数不支持
This commit is contained in:
fit2cloud-chenyw 2021-12-29 12:09:12 +08:00 committed by GitHub
commit 12ab1999a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
})
}