vue-ajax小封装实例 1.js文件:/**ajax封装:*1.引入文件*2.newVue().ajax.get(url,data,fn,ojson),或newVue().ajax.post(url,data,fn,ojso 封装ajax