1 |
- {"version":3,"sources":["webpack:///./src/views/Test.vue?87a6","webpack:///./src/views/Test.vue?2a15","webpack:///src/views/Test.vue","webpack:///./src/views/Test.vue?1ee0","webpack:///./src/views/Test.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","on","getData","postData","staticRenderFns","name","methods","component"],"mappings":"gHAAA,yBAAyrB,EAAG,G,oECA5rB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAG,kBAAkBH,EAAG,WAAW,CAACI,MAAM,CAAC,KAAO,WAAWC,GAAG,CAAC,MAAQT,EAAIU,UAAU,CAACV,EAAIO,GAAG,UAAUH,EAAG,MAAMA,EAAG,MAAMA,EAAG,WAAW,CAACI,MAAM,CAAC,KAAO,WAAWC,GAAG,CAAC,MAAQT,EAAIW,WAAW,CAACX,EAAIO,GAAG,YAAYH,EAAG,cAAc,CAACI,MAAM,CAAC,GAAK,eAAe,CAACR,EAAIO,GAAG,SAAS,IAC/YK,EAAkB,GCYtB,GACEC,KAAM,OACNC,QAAF,CACA,QADA,WAEA,wDACA,kBACA,mBACA,mBAGIH,SARJ,WASA,sCACA,oBACA,KACA,oBACA,cAEA,CACA,+DAEA,kBACA,kBACA,mBACA,qBCpCkb,I,wBCQ9aI,EAAY,eACd,EACAhB,EACAa,GACA,EACA,KACA,WACA,MAIa,aAAAG,E","file":"js/chunk-1b35494c.34a684aa.js","sourcesContent":["import mod from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/_css-loader@3.4.2@css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/_vue-loader@15.8.3@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.8.3@vue-loader/lib/index.js??vue-loader-options!./Test.vue?vue&type=style&index=0&id=49167ac0&lang=less&scoped=true&\"; export default mod; export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/_css-loader@3.4.2@css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/_vue-loader@15.8.3@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.8.3@vue-loader/lib/index.js??vue-loader-options!./Test.vue?vue&type=style&index=0&id=49167ac0&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"test\"},[_vm._v(\" hello world! \"),_c('a-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.getData}},[_vm._v(\"请求测试\")]),_c('br'),_c('br'),_c('a-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.postData}},[_vm._v(\"post测试\")]),_c('router-link',{attrs:{\"to\":\"/tab/child\"}},[_vm._v(\"点我\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"test\">\n hello world!\n <a-button type=\"primary\" @click=\"getData\">请求测试</a-button>\n\t<br>\n\t<br>\t \n\t<a-button type=\"primary\" @click=\"postData\">post测试</a-button>\n\t<router-link to=\"/tab/child\">点我</router-link>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: 'test',\n methods:{\n \tgetData() {\n\t this.$axios.get(\"/tables/pagination\").then( res => {\n\t \tconsole.log(res)\n\t }).catch( err => {\n\t \tconsole.log(err)\n\t })\n },\n postData() {\n \tthis.$axios.post(\"/tables/pagination\", \n \t\tthis.$qs.stringify({\n\t id: 1,\n\t content: \"some text\",\n\t mark: \"备注信息\"\n\t }),\n\t {\n\t headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" }\n\t }\n ).then( res => {\n\t \tconsole.log(res)\n\t }).catch( err => {\n\t \tconsole.log(err)\n\t })\n }\n }\n}\n</script>\n\n<style lang=\"less\" scoped>\n.test{\n\tcolor: pink;\n}\t\n</style>\n","import mod from \"-!../../node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.8.3@vue-loader/lib/index.js??vue-loader-options!./Test.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.8.3@vue-loader/lib/index.js??vue-loader-options!./Test.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Test.vue?vue&type=template&id=49167ac0&scoped=true&\"\nimport script from \"./Test.vue?vue&type=script&lang=js&\"\nexport * from \"./Test.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Test.vue?vue&type=style&index=0&id=49167ac0&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.8.3@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49167ac0\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|