John

Results 32 comments of John

I don't understand your question, maybe you can refer to the following code. https://codesandbox.io/s/sad-cache-zmxyy2?file=/src/components/HelloWorld.vue

Can you provide a reproducible example?

defaultParams 的参数至少是要个对象才能给你合并 https://github.com/AttoJS/vue-request/blob/master/src/usePagination.ts#L65

refresh 是使用上一次请求的 params 再次发起请求 参考:https://www.attojs.com/api/#refresh

近期可能没有精力去做这个

参考:https://codesandbox.io/p/devbox/lucid-johnson-73rmxy

[`mutate`](https://www.attojs.org/api/#mutate) can modify cached data

理论上是支持的 Reference #106