@@ -114,8 +114,8 @@ export default {
|
|||||||
},
|
},
|
||||||
reload () {
|
reload () {
|
||||||
this.copyDataList.forEach(item => {
|
this.copyDataList.forEach(item => {
|
||||||
if (this.$refs['chart' + item.id]) {
|
if (this.$refs['chart' + item.id] && this.$refs['chart' + item.id][0]) {
|
||||||
this.$refs['chart' + item.id].reload()
|
this.$refs['chart' + item.id][0].reload()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
reload () {
|
reload () {
|
||||||
this.dnsScreenDataList.forEach(item => {
|
this.dnsScreenDataList.forEach(item => {
|
||||||
if (this.$refs['chart' + item.id]) {
|
if (this.$refs['chart' + item.id] && this.$refs['chart' + item.id][0]) {
|
||||||
this.$refs['chart' + item.id].getChartData()
|
this.$refs['chart' + item.id][0].getChartData()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user