小程序往数组里添加元素
发布于 6 年前 作者 junshi 12358 次浏览 来自 问答

choose:function(e){

console.log(e)

var that = this;

var item = e.currentTarget.dataset.item;

item.isChecked = !item.isChecked;

that.chooseList.push(e)

console.log(that.chooseList);

},

1 回复

问题呢?出的是撒问题撒。。。都不描述清楚。。。

回到顶部