ADSFASFDA

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年4月14日

摘要: 注册vue组件的几种方式 1,全局注册(这种方式注册组件必须在vue实例化之前声明) Vue.component('tag-name',{}) 2,局部注册 复制代码 var Child = { template: 'A custom component!' } new Vue({ // ... components: { // 将只在父模板可用 'my-co... 阅读全文
posted @ 2017-04-14 15:24 778323309 阅读(793) 评论(0) 推荐(0) 编辑

2017年4月13日

该文被密码保护。 阅读全文
posted @ 2017-04-13 21:12 778323309 阅读(1) 评论(0) 推荐(0) 编辑

该文被密码保护。 阅读全文
posted @ 2017-04-13 13:52 778323309 阅读(0) 评论(0) 推荐(0) 编辑

2017年4月12日

该文被密码保护。 阅读全文
posted @ 2017-04-12 16:12 778323309 阅读(1) 评论(0) 推荐(0) 编辑

该文被密码保护。 阅读全文
posted @ 2017-04-12 04:16 778323309 阅读(3) 评论(0) 推荐(0) 编辑

2017年4月11日

摘要: {{item}} methods:{ handleClick(e){ var dom =e.target; } } 阅读全文
posted @ 2017-04-11 11:56 778323309 阅读(366) 评论(0) 推荐(0) 编辑

2017年4月4日

摘要: 更多 案例 qingkong_gouwuche(){ var url='<?=Url::toRoute(['gouwuche/qingkong-gouwuche'])?>'; var successCallback=function (data) { if(data.data.code==1){ a 阅读全文
posted @ 2017-04-04 14:02 778323309 阅读(4624) 评论(0) 推荐(0) 编辑

2017年3月31日

摘要: var Intent = plus.android.import("android.content.Intent"); 阅读全文
posted @ 2017-03-31 12:55 778323309 阅读(204) 评论(0) 推荐(0) 编辑

2017年3月26日

摘要: 阅读全文
posted @ 2017-03-26 11:25 778323309 阅读(209) 评论(0) 推荐(0) 编辑

摘要: Vue.component('child', { render: function (createElement) { return createElement( 'h' + this.level, // tag name 标签名称 this.$slots.default // 子组件中的阵列 ) 阅读全文
posted @ 2017-03-26 11:23 778323309 阅读(3580) 评论(0) 推荐(0) 编辑