forked from github/dataease
Merge pull request #1551 from dataease/pr@dev@fix_filter_decimal
fix: 过滤组件对小数不支持
This commit is contained in:
commit
12ab1999a4
@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user