NEZ-3259 fix:Notebook中蜂窝图表没有显示数据

This commit is contained in:
zyh
2023-10-25 14:35:01 +08:00
parent 44cbd096aa
commit f9bb7b500d

View File

@@ -467,7 +467,7 @@ export default {
if (this.from == 'dashboard') { if (this.from == 'dashboard') {
linkId = this.chartInfo.varId linkId = this.chartInfo.varId
} else { } else {
linkId = this.chartDetailInfo.id linkId = this.chartDetailInfo && this.chartDetailInfo.id
} }
if (this.chartInfo.type === 'assetInfo') { if (this.chartInfo.type === 'assetInfo') {
this.$get('asset/asset/' + linkId).then(res => { this.$get('asset/asset/' + linkId).then(res => {