2 lines
2.0 KiB
JavaScript
2 lines
2.0 KiB
JavaScript
webpackJsonp([1],{"/qIl":function(e,n){},GlAN:function(e,n){},HuWz:function(e,n){},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("7+uW"),i={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var c=t("VU/8")({name:"App"},i,!1,function(e){t("HuWz")},null,null).exports,r=t("/ocq"),o=t("mtWM"),s=t.n(o),u={name:"Ping",data:function(){return{msg:""}},methods:{getMessage:function(){var e=this;s.a.get("http://localhost:5000/ping").then(function(n){e.msg=n.data}).catch(function(e){console.error(e)})}},created:function(){this.getMessage()}},h={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",[n("h1",[this._v(this._s(this.msg))])])},staticRenderFns:[]};var p=t("VU/8")(u,h,!1,function(e){t("/qIl")},"data-v-3dfaaed4",null).exports,l={name:"chainetv",data:function(){return{message:"",chaine:""}},methods:{checkchaine:function(){var e=this,n="http://localhost:5000/api/v1/chaine/";n+=this.chaine,s.a.get(n).then(function(n){e.message=n.data}).catch(function(e){console.error(e)})}}},v={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("h1",[e._v("ChaineTV")]),e._v(" "),t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.chaine,expression:"chaine"}],attrs:{name:"chaine-input",type:"text"},domProps:{value:e.chaine},on:{input:function(n){n.target.composing||(e.chaine=n.target.value)}}})]),e._v(" "),t("div",[t("button",{on:{click:function(n){return e.checkchaine()}}},[e._v("submit")])]),e._v(" "),t("div",[e._v("\n "+e._s(e.message)+"\n ")])])},staticRenderFns:[]};var d=t("VU/8")(l,v,!1,function(e){t("GlAN")},"data-v-4c806b4e",null).exports;a.a.use(r.a);var m=new r.a({routes:[{path:"/ping",name:"ping",component:p},{path:"/",name:"chaineTV",component:d}]});a.a.config.productionTip=!1,new a.a({el:"#app",router:m,components:{App:c},template:"<App/>"})}},["NHnr"]);
|
|
//# sourceMappingURL=app.4f275ae67982aafbbb4b.js.map
|