From ed63b1d8b04d8980e36927e29e12395a552e3738 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 29 Dec 2021 12:08:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=AF=B9=E5=B0=8F=E6=95=B0=E4=B8=8D=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/widget/serviceImpl/NumberRangeServiceImpl.js | 2 +- .../widget/serviceImpl/NumberSelectGridServiceImpl.js | 2 +- .../components/widget/serviceImpl/NumberSelectServiceImpl.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 }) }