请问用以下类型的数组怎么放入picker
multiArray:
[
{
type: “文科”,
name: [“语文”, “英语”, “日语”, “政治”, “历史”, “地理”],
},
{
type: “理科”,
name: [“数学”, “物理”, “化学”, “生物”],
},
{
type: “体育”,
name: [“篮球”, “足球”, “游泳”],
},
{
type: “艺术”,
name: [“唱歌”, “吉他”, “钢琴”, “古筝”, “打鼓”, “舞蹈”, “画画”],
},
]
用picker 两列选择器怎么写,手册给那个例子太复杂了,求帮忙