first commit
This commit is contained in:
1
tsvue/dist/js/index.c70d4b6b.js
vendored
Normal file
1
tsvue/dist/js/index.c70d4b6b.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([["index"],{"0b51":function(e,t,n){"use strict";n.r(t);var r,a,c,i=n("5530"),o=(n("96cf"),n("1da1")),u=n("b650"),s=n("750b"),p=(n("d3b7"),n("d4ec")),d=n("bee2"),f=n("9ab4"),l=n("659f"),b=function(){function e(){Object(p.a)(this,e)}return Object(d.a)(e,[{key:"index",value:function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"haha",value:function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"Login",value:function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}();Object(f.__decorate)([Object(l.GET)(),Object(f.__metadata)("design:type",Function),Object(f.__metadata)("design:paramtypes",[Object]),Object(f.__metadata)("design:returntype","function"==typeof(r="undefined"!=typeof Promise&&Promise)?r:Object)],b.prototype,"index",null),Object(f.__decorate)([Object(l.POST)(),Object(f.__metadata)("design:type",Function),Object(f.__metadata)("design:paramtypes",[Object]),Object(f.__metadata)("design:returntype","function"==typeof(a="undefined"!=typeof Promise&&Promise)?a:Object)],b.prototype,"haha",null),Object(f.__decorate)([Object(l.PUT)(),Object(f.__metadata)("design:type",Function),Object(f.__metadata)("design:paramtypes",[Object]),Object(f.__metadata)("design:returntype","function"==typeof(c="undefined"!=typeof Promise&&Promise)?c:Object)],b.prototype,"Login",null);var m=new b,O=Object(s.a)({name:"hello-word",props:{title:{type:String,default:"HelloWorld 子组件的默认Props值"}},setup:function(){}}),j=(n("cbec"),n("2877")),_=Object(j.a)(O,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"hello"},[t("h1",[this._v(this._s(this.title))])])}),[],!1,null,"76ad04b1",null).exports,v=Object(s.a)({name:"index",props:{},filters:{gets:function(e){return e+" | 过滤器"}},setup:function(e,t){Object(s.c)("Broadcast");var n=Object(s.f)({title:Object(s.g)("首页"),list:Object(s.g)([])});Object(s.d)(Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.root.$setTitle("测试"),e.next=3,m.haha({name:"bmy",age:[18,19,17]});case 3:e.sent;case 5:case"end":return e.stop()}}),e)}))));var r=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.index({id:1,page:1});case 2:t=e.sent,n.list=t.result;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(i.a)({},Object(s.h)(n),{loadData:r})},components:{"v-hellowold":_,Button:u.a}}),g=(n("8e1f"),n("a89a")),h=n.n(g),y=Object(j.a)(v,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"home"},[r("img",{attrs:{alt:"Vue logo",src:n("c780")}}),r("h2",{directives:[{name:"index",rawName:"v-index",value:200,expression:"200"}]},[e._v(e._s(e._f("gets")(e.title)))]),r("p",{directives:[{name:"test",rawName:"v-test"}]},[e._v("请打开控制台查看更多")]),r("v-hellowold",{attrs:{title:"父向子传递数据"}}),r("Button",{attrs:{type:"primary"},on:{click:e.loadData}},[e._v("点击请求数据")]),r("ul",e._l(e.list,(function(t,n){return r("li",{key:n},[r("p",[e._v(e._s(t.id)+" : "+e._s(t.name))])])})),0)],1)}),[],!1,null,"37acbc26",null);"function"==typeof h.a&&h()(y),t.default=y.exports},"3bb4":function(e,t,n){},"4b6d":function(e,t,n){},"8e1f":function(e,t,n){"use strict";var r=n("4b6d");n.n(r).a},a89a:function(e,t){},c780:function(e,t,n){e.exports=n.p+"img/logo.82b9c7a5.png"},cbec:function(e,t,n){"use strict";var r=n("3bb4");n.n(r).a}}]);
|
||||
Reference in New Issue
Block a user