提交 bc137aa9 编写于 作者: guangjun.yang's avatar guangjun.yang

选中问题

上级 10adfd58
......@@ -103,8 +103,13 @@ export default {
let index = this.selectCouponList.findIndex( item => {
return item.couponId = this.currentCoupon.couponId
});
this.currentCoupon.isChecked = true;
this.selectCouponList.splice(index, 1, this.currentCoupon);
this.selectCouponList[index].isChecked = true;
// this.currentCoupon.isChecked = true;
// this.selectCouponList.splice(index, 1, this.currentCoupon);
} else {
this.selectCouponList.forEach((cItem, index) => {
cItem.isChecked = false;
});
}
this.currentCouponInfo = this.currentCoupon;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册