随笔分类 -  Frontend

摘要:最近学习Vue.js发现其为了实现对data内的数组和对象进行双向绑定,将数组和对象进行了封装。 如下的对象 todos: [ { id: 1, title: 'Do the dishes', }, { id: 2, title: 'Take out the trash', }, { id: 3, 阅读全文
posted @ 2017-12-27 14:23 白马黑衣 阅读(24390) 评论(1) 推荐(0)