1. 首页
  2. 编程语言
  3. Javascript
  4. vue中axios.js

vue中axios.js

上传者: 2020-08-06 02:21:16上传 JS文件 45.12KB 热度 47次
vue中的ajax axios.get('/user?ID=12345') .then(function (response) { // handle success console.log(response); }) .catch(function (error) { // handle error console.log(error); }) .then(function () { // always executed });
用户评论