摘要:
vue 与mint UI 结合开发手机app html5页面 api 文档 http://mint-ui.github.io/#!/zh-cn 阅读全文
posted @ 2017-07-17 18:01
js初学者
阅读(179)
评论(0)
推荐(0)
摘要:
1、store.commit({'type':'mutation','parameter':'value'}); store.dispatch('action'); 2、获取state保存的值 store.state.state 阅读全文
posted @ 2017-07-17 17:51
js初学者
阅读(1461)
评论(0)
推荐(0)
摘要:
1、引入 vue.js vuex.js 文件 2、创建Store文件 var sSatte=new Vuex.Store({ state:{}, mutations:{}, actions:{} }) 阅读全文
posted @ 2017-07-17 17:47
js初学者
阅读(221)
评论(0)
推荐(0)
摘要:
1、Vue.component('component-test', { props:{}, data:function(){ return{} }, mounted:function(){}, computed:{ }, methods:{ }, template:'' }); 2、var item 阅读全文
posted @ 2017-07-17 17:40
js初学者
阅读(203)
评论(0)
推荐(0)

浙公网安备 33010602011771号