You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Corresponding to the 👆 's `Fn` function, the function's first parameter is the `fetchInstance` instance, and you can use all the methods carried on this instance.
Corresponding to the 👆 `Fn` function, the function the second parameter is the `options` configuration, and you can use all the configuration items carried by the `useRequest`, including those defined by your plugin.
43
46
44
47
```typescript
45
48
46
-
typeOptions
49
+
typeUseRequestOptions
47
50
&
48
-
typePlginOptions
51
+
typeUseRequestPlginOptions
49
52
50
53
```
51
54
@@ -54,18 +57,18 @@ Corresponding to the 👆 `Fn` function, the function the second parameter is th
54
57
As a function of this, it is required to return the plugin running results in the plugin cycle, such as executing a segment of logic in `onSuccess` and a segment of error processing in `onError`.
0 commit comments