mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(查询组件): 修复查询条件设置默认值后,修改查询条件取消默认值,在编辑页面中查询条件依然展示默认值的问题
This commit is contained in:
parent
e33830be2b
commit
ddb550af0c
@ -474,6 +474,12 @@ const validate = () => {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!ele.defaultValueCheck) {
|
||||||
|
const isMultiple = +ele.displayType === 7 || ele.multiple
|
||||||
|
ele.selectValue = isMultiple ? [] : undefined
|
||||||
|
ele.defaultValue = isMultiple ? [] : undefined
|
||||||
|
}
|
||||||
|
|
||||||
let displayTypeField = null
|
let displayTypeField = null
|
||||||
if (
|
if (
|
||||||
ele.checkedFields.some(id => {
|
ele.checkedFields.some(id => {
|
||||||
|
Loading…
Reference in New Issue
Block a user