forked from github/dataease
Merge pull request #604 from dataease/pr@dev@fix_bug-fix
fix:前端cosole报错问题
This commit is contained in:
commit
2d2735faaf
@ -113,7 +113,7 @@ export default {
|
||||
trackMenu() {
|
||||
const trackMenuInfo = []
|
||||
let linkageCount = 0
|
||||
this.chart.data.fields && this.chart.data.fields.forEach(item => {
|
||||
this.chart.data && this.chart.data.fields && this.chart.data.fields.forEach(item => {
|
||||
const sourceInfo = this.chart.id + '#' + item.id
|
||||
if (this.nowPanelTrackInfo[sourceInfo]) {
|
||||
linkageCount++
|
||||
|
Loading…
Reference in New Issue
Block a user