助力软件开发企业降本增效 PHP / java源码系统,只需一次付费,代码终身使用! 广告
## axios 框架内部集成了 axios 异步通信组件,可实现方便的异步操作,[参考文档](https://github.com/axios/axios) [TOC] ## 简单示例 ``` require(['axios'],function(axios){ axios.post('/user', {firstName: 'Fred', lastName: 'Flintstone' }) .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); }); }) ```