{"version":3,"sources":["webpack:///./src/views/labs/request.vue?f175","webpack:///./src/views/labs/request.vue","webpack:///./src/api/test.ts","webpack:///./src/views/labs/request.vue?c757","webpack:///./src/views/labs/components/demo-name.vue?3a25","webpack:///./src/views/labs/components/demo-name.vue?3ca5","webpack:///./src/views/labs/components/demo-name.vue","webpack:///./src/views/labs/components/demo-name.vue?e9a5"],"names":["class","type","handleGetList","handlePost","listLength","params","url","http","get","data","post","components","DemoName","setup","ids","console","log","list","value","length","title","content","name","__exports__","render","_hoisted_1","_ctx","_cache","$props","$setup","$data","$options","_component_van_icon","_component_router_link","to","path","default","_","demoTitle","props","String","meta"],"mappings":"yIAAA,W,wFCK0D,U,+BACH,W,oPALrD,gCAUU,gBATR,yBAAa,GACb,yBAOa,GAPDA,MAAM,gBAAc,C,8BAC9B,iBAGM,CAHN,gCAGM,YAFJ,yBAAqE,GAAzDC,KAAK,UAAW,QAAO,EAAAC,e,+BAAe,iBAAM,C,0BACxD,yBAAmE,GAAvDD,KAAK,UAAW,QAAO,EAAAE,Y,+BAAY,iBAAO,C,4BAExD,yBAAe,GACf,gCAA4B,SAAzB,QAAK,6BAAG,EAAAC,YAAU,O,gDCed,EAAU,WAAgB,IAAfC,EAAe,uDAAN,GACzBC,EAAM,iCAEZ,OAAOC,EAAA,KAAKC,IAAU,CACpBF,MACAD,YASS,EAAa,SAACI,GACzB,IAAMH,EAAM,YAEZ,OAAOC,EAAA,KAAKG,KAAW,CACrBJ,MACAG,U,YDxBW,+BAAgB,CAC7BE,WAAY,CACVC,SAAA,QAEFC,MAJ6B,WAK3B,IAAMT,EAAa,iBAAI,GADjB,SAGSF,IAHT,6FAGN,+GACQG,EAAS,CACbS,IAAK,CAAC,EAAG,EAAG,EAAG,IAFnB,kBAK2B,EAAQT,GALnC,gBAKYI,EALZ,EAKYA,KACRM,QAAQC,IAAR,OAAYP,QAAZ,IAAYA,OAAZ,EAAYA,EAAMQ,MAClBb,EAAWc,MAAX,OAAmBT,QAAnB,IAAmBA,OAAnB,EAAmBA,EAAMQ,KAAKE,OAPlC,qDASIJ,QAAQC,IAAR,MATJ,0DAHM,iCAgBSb,IAhBT,6FAgBN,sHACyB,EAAW,CAChCiB,MAAO,KACPC,QAAS,KACTC,KAAM,QAJV,gBACUb,EADV,EACUA,KAKRM,QAAQC,IAAIP,GANd,2CAhBM,wBAyBN,MAAO,CACLP,gBACAC,aACAC,iB,iCE5CN,MAAMmB,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E,gB,kCCTf,W,kDCGMC,EAAa,CAAEzB,MAAO,cAEtB,SAAUwB,EAAOE,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAsB,8BAAkB,YACxCC,EAAyB,8BAAkB,eAEjD,OAAQ,yBAAc,gCAAoB,UAAWR,EAAY,CAC/D,yBAAaQ,EAAwB,CACnCjC,MAAO,OACPkC,GAAI,CAAEC,KAAM,UACX,CACDC,QAAS,sBAAS,iBAAM,CACtB,yBAAaJ,EAAqB,CAAEV,KAAM,mBAE5Ce,EAAG,IAEL,6BAAiB,IAAM,6BAAiBX,EAAKY,WAAY,K,gBCf9C,+BAAgB,CAC7BC,MAAO,CACLnB,MAAO,CACLnB,KAAMuC,OACNJ,QAAS,KAGbvB,MAP6B,WAOxB,MACH,YAAuB,wBAAW4B,YAAlC,QAA0C,GAA1C,IAAQrB,aAAR,MAAgB,GAAhB,EAEA,MAAO,CACLkB,UAAWlB,M,iCCRjB,MAAMG,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E,U","file":"js/chunk-6813169d.b57a619a.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./request.vue?vue&type=style&index=0&id=4cdb2e61&lang=scss&scoped=true\"","\n\n\n\n\n","import http from '@/http';\n\ninterface List {\n /** 列表数据 */\n list: [];\n page: number;\n pages: number;\n size: number;\n total: number;\n}\n\ninterface New {\n name?: string;\n /** 标题 */\n title?: string;\n /** 内容 */\n content?: string;\n}\n\n\n/**\n * 获取列表\n * @param params 参数\n */\nexport const getList = (params = {}) => {\n const url = 'http://localhost:3721/api/list';\n\n return http.get({\n url,\n params,\n });\n};\n\n\n/**\n * 创建新闻\n * @param data 参数\n */\nexport const createNews = (data: New) => {\n const url = '/api/post';\n\n return http.post({\n url,\n data,\n });\n};\n","import { render } from \"./request.vue?vue&type=template&id=4cdb2e61&scoped=true\"\nimport script from \"./request.vue?vue&type=script&lang=js\"\nexport * from \"./request.vue?vue&type=script&lang=js\"\n\nimport \"./request.vue?vue&type=style&index=0&id=4cdb2e61&lang=scss&scoped=true\"\n\nimport exportComponent from \"/var/jenkins_home/workspace/prod-feibu-h5-feibu56/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4cdb2e61\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--8-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./demo-name.vue?vue&type=style&index=0&id=683ffa82&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-683ffa82\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"demo-title\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_van_icon = _resolveComponent(\"van-icon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"section\", _hoisted_1, [\n _createVNode(_component_router_link, {\n class: \"icon\",\n to: { path: '/labs'}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_van_icon, { name: \"wap-home-o\" })\n ]),\n _: 1\n }),\n _createTextVNode(\" \" + _toDisplayString(_ctx.demoTitle), 1)\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { useRoute } from 'vue-router';\n\nexport default defineComponent({\n props: {\n title: {\n type: String,\n default: '',\n },\n },\n setup() {\n const { title = '' } = useRoute().meta ?? {};\n\n return {\n demoTitle: title,\n };\n },\n});\n","import { render } from \"./demo-name.vue?vue&type=template&id=683ffa82&scoped=true&ts=true\"\nimport script from \"./demo-name.vue?vue&type=script&lang=ts\"\nexport * from \"./demo-name.vue?vue&type=script&lang=ts\"\n\nimport \"./demo-name.vue?vue&type=style&index=0&id=683ffa82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/var/jenkins_home/workspace/prod-feibu-h5-feibu56/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-683ffa82\"]])\n\nexport default __exports__"],"sourceRoot":""}