NEZ-1195 fix:Chart Template 预览空白,chart 导出报错
This commit is contained in:
@@ -709,12 +709,16 @@ export default {
|
||||
}
|
||||
})
|
||||
})
|
||||
this.finshGetData = false
|
||||
return
|
||||
}
|
||||
if (!param.query) delete param.query
|
||||
// 根据panelId获得panel下的所有图表
|
||||
// const groupId = true ? '&groupId=0' : ''
|
||||
if (!params.panelId) { return } // 没有panelId不调用接口
|
||||
if (!params.panelId) {
|
||||
this.finshGetData = false
|
||||
return
|
||||
} // 没有panelId不调用接口
|
||||
this.$get('visual/panel/chart?panelId=' + params.panelId + '&groupId=0' + '&pageSize=-1').then(response => {
|
||||
if (response.code === 200) {
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user