{"ast":null,"code":"export default {\n name: \"GetToken_1\",\n data() {\n return {\n proxy: \"/examServer\",\n url: \"/public_api/v1/api_for_vue_exam_1?student_id=\",\n token: \"no token\",\n student_id: \"202241401015\"\n };\n },\n methods: {\n getToken() {\n let url = this.proxy + this.url + this.student_id;\n let that = this;\n this.axios.get(url).then(function (response) {\n that.token = response.data;\n }, function (error) {\n console.log(error.data);\n });\n }\n },\n mounted() {\n window.myVue = this;\n }\n};","map":{"version":3,"names":["name","data","proxy","url","token","student_id","methods","getToken","that","axios","get","then","response","error","console","log","mounted","window","myVue"],"sources":["C:\\exam_app\\app_vue\\src\\components\\GetToken_1.vue"],"sourcesContent":["\r\n {{token}}
\r\n \r\n\r\n\r\n\r\n\r\n"],"mappings":"AAMI,eAAe;EACXA,IAAI,EAAE,YAAY;EAClBC,IAAIA,CAAA,EAAE;IACF,OAAM;MACFC,KAAK,EAAC,aAAa;MACnBC,GAAG,EAAC,+CAA+C;MACnDC,KAAK,EAAC,UAAU;MAChBC,UAAU,EAAE;IAChB;EACJ,CAAC;EACDC,OAAO,EAAC;IACJC,QAAQA,CAAA,EAAE;MACN,IAAIJ,GAAG,GAAC,IAAI,CAACD,KAAK,GAAC,IAAI,CAACC,GAAG,GAAC,IAAI,CAACE,UAAU;MAC3C,IAAIG,IAAI,GAAC,IAAI;MACb,IAAI,CAACC,KAAK,CAACC,GAAG,CAACP,GAAG,CAAC,CAACQ,IAAI,CACpB,UAAUC,QAAQ,EAAE;QAChBJ,IAAI,CAACJ,KAAK,GAACQ,QAAQ,CAACX,IAAI;MAC5B,CAAC,EACD,UAAUY,KAAK,EAAE;QACbC,OAAO,CAACC,GAAG,CAACF,KAAK,CAACZ,IAAI,CAAC;MAC3B,CAEJ;IACJ;EACJ,CAAC;EACDe,OAAOA,CAAA,EAAG;IACNC,MAAM,CAACC,KAAK,GAAC,IAAI;EACrB;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}