摘要:
父向子传值: //父组件 //子组件 子向父传值: //子组件 <input type="radio" @click="check(feature.description)"/> 路由传参: 阅读全文
posted @ 2017-04-18 22:14
lonelyGentleman
阅读(5833)
评论(0)
推荐(0)
摘要:
var vm = new Vue({ el:"#app", data:{ totalMoney:0, productList:[], checkAllFlag:false , delFlag:false delOneProduct:[], }, filters:{ //局部过滤器 ,调用方法{{nu 阅读全文
posted @ 2017-04-18 21:40
lonelyGentleman
阅读(445)
评论(0)
推荐(0)
摘要:
import Vue from 'vue';const state = { title: []}; export const getters = { title(state){ if(state.title.length==0){ state.title=JSON.parse(localStorag 阅读全文
posted @ 2017-04-18 21:34
lonelyGentleman
阅读(2509)
评论(0)
推荐(0)

浙公网安备 33010602011771号