We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
老大, 这种怎么一次执行多个请求?请求路径一样,只是参数不同 this.$http({ url: this.$http.adornUrl('/xx/xx'), method: 'get', params: this.$http.adornParams({ 'xx':0, }) }).then(({data}) => { })
this.$http({ url: this.$http.adornUrl('/xx/xx'), method: 'get', params: this.$http.adornParams({ 'xx':1, }) }).then(({data}) => { })
The text was updated successfully, but these errors were encountered:
去Axios官网查找axios.all方法,或者Promise.all也可以。
Sorry, something went wrong.
No branches or pull requests
老大, 这种怎么一次执行多个请求?请求路径一样,只是参数不同
this.$http({
url: this.$http.adornUrl('/xx/xx'),
method: 'get',
params: this.$http.adornParams({ 'xx':0, })
}).then(({data}) => { })
this.$http({
url: this.$http.adornUrl('/xx/xx'),
method: 'get',
params: this.$http.adornParams({ 'xx':1, })
}).then(({data}) => { })
The text was updated successfully, but these errors were encountered: