Skip to content

Commit

Permalink
version: use-request image 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonYong committed Jun 1, 2023
1 parent f5cb6d3 commit e4dea2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/use-request/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-hooks-plus/use-request",
"version": "1.4.1",
"version": "1.4.2",
"description": "Vue use-request hooks library",
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/use-request/src/useRequestImplement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function useRequestImplement<TData, TParams extends any[]>(

// manual
onMounted(() => {
if (!manual) {
if (!manual && fetchInstance.options.refreshDeps !== true) {
const params = fetchInstance.state.params || options.defaultParams || []
if (unref(ready)) fetchInstance.run(...(params as TParams))
}
Expand Down

0 comments on commit e4dea2a

Please sign in to comment.