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