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