Minglu
Minglu
开源作者大佬是不是忘记了还有这个问题,很致命🤔
 目前是这样的,注释了@liuyib
比如有个点击事件需要调用后端接口, 我希望这个点击事件是被useRequest包装过的, 并且请求接口后返回的数据需要存在状态库进行管理。 那这个时候useRequest内部维护一个data, 状态库维护一个data,就会进行多次rerender @liuyib
@hchlq 因为传入后就同步改变了state中的params, 如果提前格式化了,那么我就无法直接消费state.params数据,这样我需要维护两个params。相反如果我service请求时,有个formatParams回掉,我觉得更方便。
it's ok, I must add the random,but why? because the position is always same ,so it must add the random key ? 
"leaflet": "1.6.0", "leaflet-ant-path": "^1.3.0", "react": "^16.13.1", "react-leaflet-ant-path": "^1.1.0",