You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
206 B

## Ajax
## Axios
1. 引入Axios的js文件
<script src=js/axios.js></script>
2. 使用
axios({
method: 'get',
url: 'http://localhost:8080/getUser',
}).then((result)=> {
console.log(result);
})