yc-vep-ui 0.3.68 → 0.3.69
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.
|
@@ -2523,7 +2523,6 @@ function useFetch(e, n = {}) {
|
|
|
2523
2523
|
let u = ref(!1), d = ref(null), f = ref(null), p = reactive({}), m = !1;
|
|
2524
2524
|
async function g() {
|
|
2525
2525
|
if (m) return Promise.reject(/* @__PURE__ */ Error("请求正在进行中,请勿重复触发"));
|
|
2526
|
-
if (!r) return Promise.reject(/* @__PURE__ */ Error("未开启 immediate 选项,请手动触发"));
|
|
2527
2526
|
m = !0, u.value = !0, f.value = null;
|
|
2528
2527
|
try {
|
|
2529
2528
|
v = JSON.stringify(toRaw(p)), y = isRef(n.ready) ? n.ready.value : n.ready ?? !0;
|
|
@@ -2547,7 +2546,7 @@ function useFetch(e, n = {}) {
|
|
|
2547
2546
|
let e = toValue(l.defaultParams);
|
|
2548
2547
|
Object.keys(p).forEach((e) => delete p[e]), Object.assign(p, e || {});
|
|
2549
2548
|
let i = isRef(n.ready) ? n.ready.value : n.ready ?? !0;
|
|
2550
|
-
i && y === !1 && (v = ""), y = i, _ && clearTimeout(_), _ = setTimeout(() => {
|
|
2549
|
+
i && y === !1 && (v = ""), y = i, console.log("watchEffect ->>", r), _ && clearTimeout(_), _ = setTimeout(() => {
|
|
2551
2550
|
let e = JSON.stringify(toRaw(p));
|
|
2552
2551
|
r && y && !m && e !== v && (v = e, nextTick(() => g()));
|
|
2553
2552
|
}, 10);
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-
|
|
1
|
+
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-CS9DUZf1.js";
|
|
2
2
|
export { e as useDictionary, n as useFetch, r as useRoute, a as useRouter, t as useTable, i as useUser };
|
package/dist/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { O as e, _ as t, b as n, v as r, y as i } from "../entry-
|
|
1
|
+
import { O as e, _ as t, b as n, v as r, y as i } from "../entry-CS9DUZf1.js";
|
|
2
2
|
export { t as baseUrl, n as request, e as tempToRender, r as uniq, i as uniqBy };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r, S as i, T as a, a as o, g as s, h as c, i as l, k as u, m as d, n as f, o as p, p as m, r as h, t as g, w as _, x as v } from "./entry-
|
|
1
|
+
import { A as e, C as t, D as n, E as r, S as i, T as a, a as o, g as s, h as c, i as l, k as u, m as d, n as f, o as p, p as m, r as h, t as g, w as _, x as v } from "./entry-CS9DUZf1.js";
|
|
2
2
|
export { e as UiCard, i as UiDescriptions, v as UiDialog, a as UiEditor, n as UiFilter, r as UiForm, t as UiInfiniteScroll, d as UiStaffSelect, u as UiTable, _ as UiTree, m as UiUpload, s as WcUtils, o as YcApproval, c as YcMessage, l as YcPageAgent, h as default, h as ycPlugin, g as getHostVue, p as hooks, f as setHostVue };
|