diff --git a/src/views/charts2/charts/linkMonitor/LinkBlock.vue b/src/views/charts2/charts/linkMonitor/LinkBlock.vue index 2db991e1..945822b6 100644 --- a/src/views/charts2/charts/linkMonitor/LinkBlock.vue +++ b/src/views/charts2/charts/linkMonitor/LinkBlock.vue @@ -187,7 +187,7 @@ export default { this.errorMsg2 = this.errorMsgHandler(e) }) - axios.all([dataRequest, nextHopRequest]).then(response => { + Promise.all([dataRequest, nextHopRequest]).then(response => { if (response[0] && response[1]) { const res = [] res[0] = response[0].data diff --git a/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue b/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue index 79ce611d..80db404f 100644 --- a/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue +++ b/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue @@ -68,7 +68,7 @@ export default { }) this.toggleLoading(true) - axios.all([dataRequest, nextHopRequest]).then(response => { + Promise.all([dataRequest, nextHopRequest]).then(response => { if (response[0] && response[1]) { const res = [] res[0] = response[0].data