chunk-1b35494c.34a684aa.js 1.1 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b35494c"],{1468:function(t,n,o){"use strict";var a=o("1c87"),e=o.n(a);e.a},"1c87":function(t,n,o){},"78c1":function(t,n,o){"use strict";o.r(n);var a=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("div",{staticClass:"test"},[t._v(" hello world! "),o("a-button",{attrs:{type:"primary"},on:{click:t.getData}},[t._v("请求测试")]),o("br"),o("br"),o("a-button",{attrs:{type:"primary"},on:{click:t.postData}},[t._v("post测试")]),o("router-link",{attrs:{to:"/tab/child"}},[t._v("点我")])],1)},e=[],c={name:"test",methods:{getData:function(){this.$axios.get("/tables/pagination").then((function(t){console.log(t)})).catch((function(t){console.log(t)}))},postData:function(){this.$axios.post("/tables/pagination",this.$qs.stringify({id:1,content:"some text",mark:"备注信息"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(t){console.log(t)})).catch((function(t){console.log(t)}))}}},s=c,i=(o("1468"),o("5511")),l=Object(i["a"])(s,a,e,!1,null,"49167ac0",null);n["default"]=l.exports}}]);
  2. //# sourceMappingURL=chunk-1b35494c.34a684aa.js.map