Kim Chan

Results 5 comments of Kim Chan

1. Yes. You can see this [example comment](https://github.com/ebfull/pcap/blob/5ed20bb9929c9520b9ad17e85b928fb8afb28d00/examples/listenlocalhost.rs#L2) from pcap, which points out `any` is not support on Windows. Moreover, in some scenarios we may only care the packets from...

~~我也遇到了这个问题,自己想到了一个workaround。在meta里添加一个*parentName*,然后修改`ADD_CACHED_VIEW`方法,在把当前路由缓存的时候可以根据parentName做缓存。~~ 参考#406,把menu和routes分开了。

```js function getIndex(arr) { return arr.reduce((minIndex, value, index) => { if (value > 0) { if (minIndex === -1) { minIndex = index; } else if (value < arr[minIndex]) {...

```js function objectMap(obj, fn) { // Not check type yet // return Object.entries(obj) .map(([key, value]) => [key, fn(key, value)]) .reduce((acc, [key, value]) => { acc[key] = value; return acc; },...