Merge pull request #1727 from dataease/pr@v1.7@fix_number_ranger_default

fix: 数字范围默认值导致仪表板空白
This commit is contained in:
fit2cloud-chenyw 2022-02-05 22:31:49 +08:00 committed by GitHub
commit 317584c913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ class NumberRangeServiceImpl extends WidgetService {
getParam(element) {
if (element.options.value && element.options.value.length > 0) {
const values = this.element.options.value
const values = element.options.value
const min = values[0]
let max = null
if (values.length > 1) {