WeChat Mini Programs: with regard to the multi-level linkage of picker components, the problem of data returned in the background is handled in js.

pickername

what should be done in success to be the same as multiArray in data?
ask for the answer from God, but I haven"t figured it out all afternoon.

Mar.05,2021

range-key, when range is an Object Array, use range-key to specify the value of key in Object as a selector to display the content.


if you multiArray [0] .name is definitely not available
you need multiArray [0] [I] to get one of the data
var newArr= []
for (var i in res) {
newArr.push (res[ I] .name)
}
that.setData ({
multiArray: [newArr]
})

.
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-1b35153-40fa7.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-1b35153-40fa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?