forked from github/dataease
commit
f635b37701
@ -330,11 +330,24 @@ const trackClick = trackAction => {
|
|||||||
const curFiled = curView.drillFields[curView.drillFilters.length]
|
const curFiled = curView.drillFields[curView.drillFilters.length]
|
||||||
fieldIds.push(curFiled.id)
|
fieldIds.push(curFiled.id)
|
||||||
}
|
}
|
||||||
chartData.value?.fields.forEach(field => {
|
if (curView.type.includes('chart-mix')) {
|
||||||
|
chartData.value?.left?.fields?.forEach(field => {
|
||||||
if (!fieldIds.includes(field.id)) {
|
if (!fieldIds.includes(field.id)) {
|
||||||
fieldIds.push(field.id)
|
fieldIds.push(field.id)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
chartData.value?.right?.fields?.forEach(field => {
|
||||||
|
if (!fieldIds.includes(field.id)) {
|
||||||
|
fieldIds.push(field.id)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
chartData.value?.fields?.forEach(field => {
|
||||||
|
if (!fieldIds.includes(field.id)) {
|
||||||
|
fieldIds.push(field.id)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
for (let i = 0; i < fieldIds.length; i++) {
|
for (let i = 0; i < fieldIds.length; i++) {
|
||||||
const id = fieldIds[i]
|
const id = fieldIds[i]
|
||||||
const sourceInfo = view.value.id + '#' + id
|
const sourceInfo = view.value.id + '#' + id
|
||||||
|
Loading…
Reference in New Issue
Block a user