forked from github/dataease
fix: 过滤组件对小数不支持
This commit is contained in:
parent
a58363b166
commit
ed63b1d8b0
@ -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