@zl-ui-kit/composables 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -600,12 +600,15 @@ var useRefreshDepsPlugin_default = definePlugin((requestInstance, options = {})
|
|
|
600
600
|
if (!refreshDeps) {
|
|
601
601
|
return {};
|
|
602
602
|
}
|
|
603
|
-
watch3(refreshDeps, (
|
|
603
|
+
watch3(refreshDeps, () => {
|
|
604
604
|
if (refreshDepsAction) {
|
|
605
605
|
refreshDepsAction();
|
|
606
|
-
|
|
607
|
-
|
|
606
|
+
return;
|
|
607
|
+
}
|
|
608
|
+
if (manual && requestInstance.params.value === void 0) {
|
|
609
|
+
return;
|
|
608
610
|
}
|
|
611
|
+
requestInstance.context.refresh();
|
|
609
612
|
});
|
|
610
613
|
return {};
|
|
611
614
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zl-ui-kit/composables",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ZL UI 组合式函数库:useRequest 请求体系、微前端通信层、全局消息、字典、国际化等",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@zl-ui-kit/utils": "0.6.
|
|
22
|
+
"@zl-ui-kit/utils": "0.6.2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@vueuse/core": "^12.3.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"cross-env": "^7.0.3",
|
|
41
41
|
"tsup": "^8.3.5",
|
|
42
42
|
"typescript": "^5.7.3",
|
|
43
|
-
"@jichuang/
|
|
44
|
-
"@jichuang/
|
|
43
|
+
"@jichuang/eslint-config": "1.0.0",
|
|
44
|
+
"@jichuang/tsconfig": "1.0.0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|