flyfox

Results 16 comments of flyfox

我来写一个 ``` function recursive(pItem,cArr) { let findArr = cArr.filter(item=>item.pId === pItem.id) if(findArr.length) { for(let findItem of findArr) { delete findItem.pId recursive(findItem,cArr) } pItem.children = findArr } } function compose(arr) {...

用JSON.parse和JSON.stringify的同学,如果数组有undefined是不是就报错了;还有就是如果数组里包含循环引用的对象,是不是就都报错了╮(╯▽╰)╭

@wd2010 建议清空缓存,删除dist,重新编译

@wd2010 可以加下联系方式,留下你的邮箱,在线调试

由于豆瓣接口对微信来源的请求做了限制,所以现在要在微信里使用豆瓣的接口,需要设置服务器代理,或者自己通过写接口的形式转发请求@maomaomao123 ,具体服务器设置代理,nginx和apache都有相关方法和一系列博客

补充地址:https://github.com/xunqianxue/venture-management