jiachen huang
Results
3
comments of
jiachen huang
> 请问你解决了吗?
`/** * 返回路由对应的组件 * @param item */ function renderComponent(item) { if (item.componentType === '1') { return Layout } else if (item.componentType === '2') { return SonIndex } else if (item.componentType...
```js const arr = [1, [2, [3, [4, [5, [6, [7, [8, [9], 10], 11], 12], 13], 14], 15], 16]] Array.prototype.flat = function (deep = 1) { let res =...