Merge pull request #9249 from dataease/pr@dev-v2_st
fix(查询组件): 显示字段没有值时默认填充绑定字段
This commit is contained in:
commit
186e2f41a5
@ -248,6 +248,9 @@ const handleDatasetChange = () => {
|
||||
const handleFieldChange = () => {
|
||||
if (!curComponent.value.defaultValueCheck) return
|
||||
curComponent.value.defaultValue = curComponent.value.multiple ? [] : undefined
|
||||
if (!curComponent.value.displayId) {
|
||||
curComponent.value.displayId = curComponent.value.field.id
|
||||
}
|
||||
}
|
||||
|
||||
const handleValueSourceChange = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user