随笔分类 -  VUE错误记录

摘要: 阅读全文
posted @ 2019-01-21 14:51 CarpenterZoe 阅读(119) 评论(0) 推荐(0)
摘要:methods:{ add(){ var car = { id: this.id, name: this.name, ctime: new Date()}; this.list.push(car); }, del(id){ this.list.splice(id,1); // 数组里删除... 阅读全文
posted @ 2019-01-18 15:54 CarpenterZoe 阅读(991) 评论(0) 推荐(0)