forked from github/dataease
fix(查询组件): 数值区间规则缺失一个最大或最小值则提示异常
This commit is contained in:
parent
a92d6daf1a
commit
44c8b86109
@ -564,6 +564,15 @@ const queryData = () => {
|
|||||||
requiredName = next.name
|
requiredName = next.name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (next.displayType === '22') {
|
||||||
|
if (
|
||||||
|
[next.numValueEnd, next.numValueStart].filter(itx => ![null, undefined, ''].includes(itx))
|
||||||
|
.length === 1
|
||||||
|
) {
|
||||||
|
requiredName = next.name
|
||||||
|
}
|
||||||
|
}
|
||||||
const keyList = Object.entries(next.checkedFieldsMap)
|
const keyList = Object.entries(next.checkedFieldsMap)
|
||||||
.filter(ele => next.checkedFields.includes(ele[0]))
|
.filter(ele => next.checkedFields.includes(ele[0]))
|
||||||
.filter(ele => !!ele[1])
|
.filter(ele => !!ele[1])
|
||||||
|
Loading…
Reference in New Issue
Block a user