Skip to content

Commit e4dea2a

Browse files
committed
version: use-request image 1.4.2
1 parent f5cb6d3 commit e4dea2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/use-request/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-hooks-plus/use-request",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "Vue use-request hooks library",
55
"files": [
66
"dist",

packages/use-request/src/useRequestImplement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function useRequestImplement<TData, TParams extends any[]>(
9393

9494
// manual
9595
onMounted(() => {
96-
if (!manual) {
96+
if (!manual && fetchInstance.options.refreshDeps !== true) {
9797
const params = fetchInstance.state.params || options.defaultParams || []
9898
if (unref(ready)) fetchInstance.run(...(params as TParams))
9999
}

0 commit comments

Comments
 (0)