forked from github/dataease
refactor(数据大屏、仪表板): 图片组显示优化
This commit is contained in:
parent
4b25c4ed31
commit
20a5b9fd07
@ -29,7 +29,8 @@ const onDatasetUpdate = () => {
|
|||||||
getFieldByDQ(view.value.tableId, view.value.id, { type: 'table-info' })
|
getFieldByDQ(view.value.tableId, view.value.id, { type: 'table-info' })
|
||||||
.then(res => {
|
.then(res => {
|
||||||
view.value.xAxis = []
|
view.value.xAxis = []
|
||||||
view.value.xAxis.push(...res.dimensionList, ...res.quotaList.pop())
|
res.quotaList.pop()
|
||||||
|
view.value.xAxis.push(...res.dimensionList, ...res.quotaList)
|
||||||
const viewTarget = view.value
|
const viewTarget = view.value
|
||||||
useEmitt().emitter.emit('calcData-' + viewTarget.id, viewTarget)
|
useEmitt().emitter.emit('calcData-' + viewTarget.id, viewTarget)
|
||||||
snapshotStore.recordSnapshotCache('calc', view.value.id)
|
snapshotStore.recordSnapshotCache('calc', view.value.id)
|
||||||
|
Loading…
Reference in New Issue
Block a user