根据value,找出value所在对象
const data = [{ label: '北京', value: '110000', children: [{ label: '北京市', value: '110100', children: [{ label: '东城区', value: '110101' }, { label: '西城区', value: '110102' }] }] }]
https://www.npmjs.com/package/tree-tool
1.4m articles
1.4m replys
5 comments
57.0k users