Commit d9aac290 by 高淑倩

item[0].checked

parent c9204346
...@@ -39,7 +39,9 @@ Component({ ...@@ -39,7 +39,9 @@ Component({
couponList.map(coupon => { couponList.map(coupon => {
console.log('22222', coupon) console.log('22222', coupon)
coupon.couponDTOS.forEach(item => { coupon.couponDTOS.forEach(item => {
// item.checked = false
item.checked = false item.checked = false
item[0].checked = true
item.couponDiscount = coupon.couponDiscount item.couponDiscount = coupon.couponDiscount
item.title = coupon.couponSettingDTO.title item.title = coupon.couponSettingDTO.title
item.type = coupon.couponSettingDTO.type item.type = coupon.couponSettingDTO.type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment