hcui-package 2.0.81 → 2.0.83

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.
@@ -35434,7 +35434,7 @@ const rY = {
35434
35434
  }, te = async (X) => {
35435
35435
  a.value = X;
35436
35436
  let W;
35437
- o.listApi ? W = await o.listApi() : W = o.data, X && (W = X);
35437
+ o.listApi ? W = await o.listApi() : W = o.data || [], X && (W = X);
35438
35438
  const ue = tl(W);
35439
35439
  p.value = tY(ue, o.childrenField, o.codeField, o.labelField, o.keyField, o.disableNodeCheck), y.value = tl(p.value);
35440
35440
  }, _ = (X) => {
@@ -83720,7 +83720,7 @@ const Wne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
83720
83720
  S.value = !S.value, o.schemas.forEach((M) => {
83721
83721
  M.show = !0;
83722
83722
  });
83723
- emit("expandChange", S.value);
83723
+ a("expandChange", S.value);
83724
83724
  };
83725
83725
  return Yn(async () => {
83726
83726
  Ne(() => {