axiso
只支持异步模式vue
//1th axios.get(url).then(); //2th axios.get(url).then(function(res){ console.log(res.data) }); var addBean={}; //增长和修改须要传一个bean axios.get(url,{params: vue.addBean}).then(function(res){ console.log(res.data) });
--须要经过多对一和多对多反复的练习ios