摘要:
components 组件 //组件 Vue.component('friend component', { props : ['friend'], filters:{ ageInOneYear(age) { return age + 1; }, fullName(value) { return ; 阅读全文
摘要:
directives 指令 const app = new Vue({ el : ' app', data : { friends: [ { first : 'bobby', last : 'banne', age : 25 }, { first : 'john', last : 'Baby', a 阅读全文
摘要:
vue02 filters computer html main.js const app = new Vue({ el : ' app', data : { bobby: { first : 'bobby', last : 'banne', age : 25 }, john : { first : 阅读全文
摘要:
vue学习01 index.html main.js const app = new Vue({ el : ' app',//挂载在哪个节点 data : { //数据存储 bobby: { name : 'bobby banne', age : 25 }, john : { name : 'joh 阅读全文