vue 中用 axios封装http请求 封装请求api

vue访问后台接口除了经常使用的jquery中ajax请求 ,以下javascript $.ajax({ type: "GET", url: "test.json", data: {username:$("#username").val(), content:$("#content").val()},
相关文章
相关标签/搜索