摘要:
dataList:[ { id:"1, name:"li", addtime:'2019-02-06 :08:30' } ] computed: { newdataList: function() { return this.sortKey(this.dataList, "addtime"... 阅读全文
摘要:
1.子组件给父组件传值 父组件: methods:{ getShopCode(value){ conso.log(value); } } 子组件: methods:{ goShopList(value){ this.$emit('getShopCode',value) this.$router.push({nam... 阅读全文