Mini Program checkbox selection

clipboard.png

clipboard.png

there is no checked item in the original data newsInformdata. Item.checked is added after a loop, but it is not displayed on the page. Console.log can be printed out. I do not know if the shallow copy is designed. It is not clear how to solve the problem

.

Mini Program supports bidirectional data binding. There is no checked item in the original data newsInformdata, so although you have added the item checked, it is not monitored by the system. You need to use the API of this.setData to set up checked listening

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bba8-412fa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bba8-412fa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?