forked from github/dataease
fix: 字段参数不能为空
This commit is contained in:
parent
550f40e358
commit
7cf02e77ca
@ -389,13 +389,9 @@ const init = (queryId: string) => {
|
||||
})
|
||||
.filter(ele => !!ele)
|
||||
}
|
||||
getDsDetails([
|
||||
...new Set(
|
||||
datasetFieldList.value
|
||||
.map(ele => ele.tableId)
|
||||
.filter(ele => !datasetMapKeyList.includes(ele) && ele)
|
||||
)
|
||||
])
|
||||
const params = [...new Set(datasetFieldList.value.map(ele => ele.tableId).filter(ele => !!ele))]
|
||||
if (!params.length) return
|
||||
getDsDetails(params)
|
||||
.then(res => {
|
||||
res
|
||||
.filter(ele => !!ele)
|
||||
|
Loading…
Reference in New Issue
Block a user