forked from github/dataease
fix: 数字范围默认值导致仪表板空白
This commit is contained in:
parent
6b4200cf09
commit
2499f1c354
@ -70,7 +70,7 @@ class NumberRangeServiceImpl extends WidgetService {
|
|||||||
|
|
||||||
getParam(element) {
|
getParam(element) {
|
||||||
if (element.options.value && element.options.value.length > 0) {
|
if (element.options.value && element.options.value.length > 0) {
|
||||||
const values = this.element.options.value
|
const values = element.options.value
|
||||||
const min = values[0]
|
const min = values[0]
|
||||||
let max = null
|
let max = null
|
||||||
if (values.length > 1) {
|
if (values.length > 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user