fix: 修复npm events tab没有饼图的问题
This commit is contained in:
@@ -117,7 +117,9 @@ export default {
|
||||
}
|
||||
})
|
||||
this.chartData = arrData.sort((a, b) => { return b.value - a.value })
|
||||
this.init()
|
||||
this.$nextTick(() => {
|
||||
this.init()
|
||||
})
|
||||
} else {
|
||||
this.isNoData = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user