CN-749 fix: axios.all还原为Promise.all
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user