diff --git a/frontend/src/components/widget/serviceImpl/NumberRangeServiceImpl.js b/frontend/src/components/widget/serviceImpl/NumberRangeServiceImpl.js index 66f1cd1d40..04f1c7cfaf 100644 --- a/frontend/src/components/widget/serviceImpl/NumberRangeServiceImpl.js +++ b/frontend/src/components/widget/serviceImpl/NumberRangeServiceImpl.js @@ -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 }) } } diff --git a/frontend/src/components/widget/serviceImpl/NumberSelectGridServiceImpl.js b/frontend/src/components/widget/serviceImpl/NumberSelectGridServiceImpl.js index 1f6bec12bd..87972debfd 100644 --- a/frontend/src/components/widget/serviceImpl/NumberSelectGridServiceImpl.js +++ b/frontend/src/components/widget/serviceImpl/NumberSelectGridServiceImpl.js @@ -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 }) } diff --git a/frontend/src/components/widget/serviceImpl/NumberSelectServiceImpl.js b/frontend/src/components/widget/serviceImpl/NumberSelectServiceImpl.js index dc37adb66f..221d3d8a7c 100644 --- a/frontend/src/components/widget/serviceImpl/NumberSelectServiceImpl.js +++ b/frontend/src/components/widget/serviceImpl/NumberSelectServiceImpl.js @@ -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 }) }