data:[
{id:1, label:'颜色', list:['白色','黑色']},
{id:2, label:'重量', list:['25KG']}
]
// 理想效果
data:[
{id:1, list:[{label:'颜色', value:'白色'},{label:'重量', value:'25KG'}]},
{id:2, list:[{label:'颜色', value:'黑色'},{label:'重量', value:'25KG'}]}
]
经典笛卡尔乘积案例之SKUs
https://blog.csdn.net/chenjin...