ahooks-vue
                                
                                
                                
                                    ahooks-vue copied to clipboard
                            
                            
                            
                        useRequest怎么避免外部传入$event导致defaultParams被覆盖问题?
内部function run(...args){} 外部使用的时候const {run:getCatImg} = useRequest(...) 然后通过@click="getCatImg" 此时defaultParams不就被覆盖了吗