内部function run(...args){} 外部使用的时候const {run:getCatImg} = useRequest(...) 然后通过@click="getCatImg" 此时defaultParams不就被覆盖了吗
内部function run(...args){}
外部使用的时候const {run:getCatImg} = useRequest(...)
然后通过@click="getCatImg"
此时defaultParams不就被覆盖了吗