yc-vep-ui 0.3.28 → 0.3.29

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.
@@ -131,11 +131,11 @@ var le = Object.defineProperty, L = (e, t) => {
131
131
  return $()?.resolveComponent?.("el-descriptions-item") || "el-descriptions-item";
132
132
  },
133
133
  get Message() {
134
- return $()?.config?.globalProperties?.$message || (window.$message ? window.$message : {
134
+ return Vi() || {
135
135
  error: (e) => console.error("[Message.error]", e),
136
136
  success: (e) => console.log("[Message.success]", e),
137
137
  warning: (e) => console.warn("[Message.warning]", e)
138
- });
138
+ };
139
139
  }
140
140
  };
141
141
  //#endregion
@@ -4420,7 +4420,7 @@ function Ci(e) {
4420
4420
  ...n.query,
4421
4421
  instanceId: e
4422
4422
  }, r = n.mode === "hash" ? `${window.location.hash.split("?")[0]}?${new URLSearchParams(t).toString()}` : `${window.location.pathname}?${new URLSearchParams(t).toString()}`;
4423
- console.log("newUrl ->>", r), window.location.href = r;
4423
+ console.log("newUrl ->>>", r), window.location.href = r, window.location.reload();
4424
4424
  } else z.Message.error(u?.message || "提交失败");
4425
4425
  }
4426
4426
  async function p(e) {
@@ -4801,8 +4801,11 @@ function Bi(e) {
4801
4801
  function $() {
4802
4802
  return zi;
4803
4803
  }
4804
- var Vi = { install(e, t) {
4805
- t?.elementPlus && t.elementPlus.install(e), zi ||= e;
4804
+ function Vi() {
4805
+ return zi?.config?.globalProperties?.$message ? zi.config.globalProperties.$message : null;
4806
+ }
4807
+ var Hi = { install(e, t) {
4808
+ zi ||= e, t?.elementPlus && t.elementPlus.install(e);
4806
4809
  for (let [t, n] of Object.entries(Ri)) {
4807
4810
  let r = n?.default || n;
4808
4811
  if (r && (typeof r == "function" || typeof r == "object")) {
@@ -4816,4 +4819,4 @@ var Vi = { install(e, t) {
4816
4819
  for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
4817
4820
  } };
4818
4821
  //#endregion
4819
- export { fe as C, z as S, Jt as _, xi as a, kt as b, Kn as c, Bn as d, Nn as f, nn as g, cn as h, Mi as i, qn as l, fn as m, Bi as n, bi as o, Dn as p, Vi as r, Yn as s, $ as t, Un as u, zt as v, Ne as x, Ft as y };
4822
+ export { z as C, Ne as S, nn as _, Mi as a, Ft as b, Yn as c, Un as d, Bn as f, cn as g, fn as h, Hi as i, Kn as l, Dn as m, Vi as n, xi as o, Nn as p, Bi as r, bi as s, $ as t, qn as u, Jt as v, fe as w, kt as x, zt as y };
@@ -1,2 +1,2 @@
1
- import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-D2gcJWEM.js";
2
- export { i as useDictionary, t as useFetch, e as useRoute, n as useRouter, a as useTable, r as useUser };
1
+ import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-D5QzKSB4.js";
2
+ export { e as useDictionary, n as useFetch, r as useRoute, a as useRouter, t as useTable, i as useUser };
package/dist/vep-ui.js CHANGED
@@ -1,2 +1,2 @@
1
- import { C as e, S as t, _ as n, a as r, b as i, f as a, g as o, h as s, i as c, m as l, n as u, p as d, r as f, t as p, v as m, x as h, y as g } from "./entry-D2gcJWEM.js";
2
- export { t as El, e as UiCard, s as UiDescriptions, l as UiDialog, m as UiEditor, i as UiFilter, g as UiForm, o as UiInfiniteScroll, d as UiStaffSelect, h as UiTable, n as UiTree, a as UiUpload, c as YcApproval, f as default, f as ycPlugin, p as getHostVue, r as hooks, u as setHostVue };
1
+ import { C as e, S as t, _ as n, a as r, b as i, g as a, h as o, i as s, m as c, n as l, o as u, p as d, r as f, t as p, v as m, w as h, x as g, y as _ } from "./entry-D5QzKSB4.js";
2
+ export { e as El, h as UiCard, a as UiDescriptions, o as UiDialog, _ as UiEditor, g as UiFilter, i as UiForm, n as UiInfiniteScroll, c as UiStaffSelect, t as UiTable, m as UiTree, d as UiUpload, r as YcApproval, s as default, s as ycPlugin, p as getHostVue, l as getMessage, u as hooks, f as setHostVue };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-vep-ui",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "type": "module",
5
5
  "description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
6
6
  "keywords": [