forked from github/dataease
fix(仪表板、数据大屏): 修复因部分无数据集组件大屏或者仪表板前端无法导出应用问题
This commit is contained in:
parent
733c8c71c8
commit
5891d467c2
@ -140,7 +140,7 @@ const checkTemplate = () => {
|
||||
let templateViewNames = ','
|
||||
Object.keys(canvasViewDataInfo.value).forEach(key => {
|
||||
const viewInfo = canvasViewDataInfo.value[key]
|
||||
if (viewInfo.dataFrom === 'template') {
|
||||
if (viewInfo && viewInfo?.dataFrom === 'template') {
|
||||
templateViewNames = templateViewNames + viewInfo.title + ','
|
||||
}
|
||||
})
|
||||
|
@ -141,7 +141,7 @@ const checkTemplate = () => {
|
||||
let templateViewNames = ','
|
||||
Object.keys(canvasViewDataInfo.value).forEach(key => {
|
||||
const viewInfo = canvasViewDataInfo.value[key]
|
||||
if (viewInfo.dataFrom === 'template') {
|
||||
if (viewInfo && viewInfo?.dataFrom === 'template') {
|
||||
templateViewNames = templateViewNames + viewInfo.title + ','
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user