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]
})

.
Menu