map洗数据

morexyoung 2020-01-06

const categoryOptions = categoryList.map((v)=>{
            const obj = {key:v.id, lable:v.catalogName, value:v.catalogId,catalogGrade:v.catalogGrade};
            return obj
        })

map洗数据

相关推荐