CN-749 fix: axios.all还原为Promise.all

This commit is contained in:
chenjinsong
2023-03-16 19:14:53 +08:00
parent 3aa2c19dbd
commit de024de843
2 changed files with 2 additions and 2 deletions

View File

@@ -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