Axios用法及配置
# Axios 用法及配置
# 1. 常用配置项
# 1. 发起 GET 请求
// Make a request for a user with a given IDaxios.get('/user?ID=12345') .then(response=> { console.log(response); }) .catch(error=> { console.log(error); });// Optionally the request above could also be done...
more...