mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix( 查询组件): 查询组件选项值为手动输入,查看默认值是未勾选状态的。 #16709
This commit is contained in:
committed by
xuwei-fit2cloud
parent
1073a395c6
commit
97df3d2026
@@ -182,7 +182,6 @@ const getCascadeFieldId = () => {
|
||||
cascade.value.forEach(ele => {
|
||||
let condition = null
|
||||
ele.forEach(item => {
|
||||
// eslint-disable-next-line
|
||||
const [_, queryId, fieldId] = item.datasetId.split('--')
|
||||
if (queryId === config.value.id && condition) {
|
||||
if (item.fieldId) {
|
||||
@@ -579,7 +578,10 @@ const setOptions = (num: number) => {
|
||||
(valueSource || []).map(ele => {
|
||||
return {
|
||||
label: `${ele}`,
|
||||
value: `${ele}`
|
||||
value: `${ele}`,
|
||||
checked: Array.isArray(selectValue.value)
|
||||
? selectValue.value.includes(ele)
|
||||
: selectValue.value === ele
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user