yuyeqianxun
Results
3
comments of
yuyeqianxun
I am sorry here again,I test them in another project in vue-cli. 'postcss-px-to-viewport' and 'style-resources-loader' can work together.
> Did you find methods? No,I run eject finally,or you can try another solution [craco](https://github.com/gsoft-inc/craco) recommended by antd;
``` function convert(list, parent) { return list.filter(item => { if (item.parentId === parent) { item.children = convert(list, item.id) return true } }) } let result=convert(list,0) ``` 加了个参数,不知道这种写法是否符合要求