{"ast":null,"code":"export default {\n name: \"ListPerson\",\n data() {\n return {\n proxy: \"/springbootServer\",\n urlSelectAll: \"/personBaseInfo_881_1/selectAll\",\n //id, name, gender, password, address, create_time, update_time\n persons: [{\n id: \"\",\n name: \"\",\n sbp: \"\",\n dbp: \"\"\n }]\n };\n },\n methods: {\n selectAll() {\n let url = this.proxy + this.urlSelectAll;\n //console.log(url);\n let that = this;\n this.axios.get(url).then(function (response) {\n //console.log(response.data.responseData);\n that.persons = response.data.responseData;\n }, function (error) {\n let errorMessage = \"有可能是springboot服务没有启动,或是端口配置错误,或是防火墙没有开\";\n console.log(errorMessage);\n that.persons[0].id = errorMessage;\n console.log(error.data);\n });\n }\n },\n mounted() {\n this.selectAll();\n window.myVue = this;\n }\n};","map":{"version":3,"names":["name","data","proxy","urlSelectAll","persons","id","sbp","dbp","methods","selectAll","url","that","axios","get","then","response","responseData","error","errorMessage","console","log","mounted","window","myVue"],"sources":["C:\\exam_app\\app_vue\\src\\components\\person_881_1\\ListPerson.vue"],"sourcesContent":["\r\n\r\n\r\n\r\n\r\n\r\n\r\n"],"mappings":"AAkCI,eAAe;EACXA,IAAI,EAAE,YAAY;EAClBC,IAAIA,CAAA,EAAG;IACH,OAAO;MACHC,KAAK,EAAE,mBAAmB;MAC1BC,YAAY,EAAE,iCAAiC;MAC/C;MACAC,OAAO,EAAE,CAAC;QAACC,EAAE,EAAE,EAAE;QAAEL,IAAI,EAAE,EAAE;QAAEM,GAAG,EAAE,EAAE;QAACC,GAAG,EAAC;MAAE,CAAC;IAChD;EACJ,CAAC;EACDC,OAAO,EAAE;IACLC,SAASA,CAAA,EAAG;MACR,IAAIC,GAAE,GAAI,IAAI,CAACR,KAAI,GAAI,IAAI,CAACC,YAAY;MACxC;MACA,IAAIQ,IAAG,GAAI,IAAI;MACf,IAAI,CAACC,KAAK,CAACC,GAAG,CAACH,GAAG,CAAC,CAACI,IAAI,CACpB,UAAUC,QAAQ,EAAE;QAChB;QACAJ,IAAI,CAACP,OAAM,GAAIW,QAAQ,CAACd,IAAI,CAACe,YAAY;MAC7C,CAAC,EACD,UAAUC,KAAK,EAAE;QACb,IAAIC,YAAY,GAAC,wCAAwC;QACzDC,OAAO,CAACC,GAAG,CAACF,YAAY,CAAC;QACzBP,IAAI,CAACP,OAAO,CAAC,CAAC,CAAC,CAACC,EAAE,GAACa,YAAY;QAC/BC,OAAO,CAACC,GAAG,CAACH,KAAK,CAAChB,IAAI,CAAC;MAC3B,CACJ;IACJ;EACJ,CAAC;EACDoB,OAAOA,CAAA,EAAG;IACN,IAAI,CAACZ,SAAS,CAAC,CAAC;IAChBa,MAAM,CAACC,KAAK,GAAC,IAAI;EACrB;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}