mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 20:42:07 +08:00
fix(数据大屏、仪表板): 修复导出应用模板不会将筛选器使用的数据集也一起导出问题 #16362
This commit is contained in:
@@ -140,7 +140,13 @@ const close = () => {
|
||||
|
||||
const gatherAppInfo = (viewIds, dsIds, componentDataCheck) => {
|
||||
componentDataCheck.forEach(item => {
|
||||
if (item.component === 'UserView' && canvasViewInfo.value[item.id]) {
|
||||
if (item.component === 'VQuery' && item.propValue?.length) {
|
||||
item.propValue.forEach(filterItem => {
|
||||
if (filterItem.dataset?.id) {
|
||||
dsIds.push(filterItem.dataset.id)
|
||||
}
|
||||
})
|
||||
} else if (item.component === 'UserView' && canvasViewInfo.value[item.id]) {
|
||||
const viewDetails = canvasViewInfo.value[item.id]
|
||||
const { id, tableId } = viewDetails
|
||||
viewIds.push(id)
|
||||
|
||||
Reference in New Issue
Block a user