1.vue-resource 的请求api是按照rest风格设计的,它提供了7种请求api get(url, [data], [options]); head(url,[data],[options]); post(url, [data], [options]); put(url, [data], [options]); patch(url, [data], [options]); delete(url, [data], [options]); jsonp(url, [data], [optio…