fix: 修复npm overview 折线图数据为空时 No data 占位错误问题
This commit is contained in:
@@ -221,8 +221,9 @@ export default {
|
||||
{ analysis: {}, name: 'network.through', class: 'through', show: true, invertTab: true, positioning: 4, data: [], unitType: '' },
|
||||
{ analysis: {}, name: 'network.other', class: 'other', show: true, invertTab: true, positioning: 5, data: [], unitType: '' }
|
||||
]
|
||||
} else {
|
||||
this.initData(res.data.result, val, active, show, n)
|
||||
}
|
||||
this.initData(res.data.result, val, active, show, n)
|
||||
} else {
|
||||
this.showError = true
|
||||
this.errorMsg = res.message
|
||||
|
||||
Reference in New Issue
Block a user