@ecan-bi/pivot-table 1.0.49 → 1.0.50

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.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/pivot-table@1.0.49 */
1
+ /*! @ecan-bi/pivot-table@1.0.50 */
2
2
  import { defineComponent as Je, ref as et, inject as Ve, watch as Ge, unref as D, computed as ie, resolveComponent as Ct, openBlock as vt, createBlock as be, withCtx as Ht, createVNode as ht, createTextVNode as qe, createCommentVNode as me, createElementBlock as kt, normalizeClass as po, Fragment as pi, createElementVNode as zt, normalizeStyle as le, renderList as un, withDirectives as ch, toDisplayString as Ze, vShow as Fu, h as Jb, nextTick as Ji, withModifiers as dr, onMounted as Zr, onUnmounted as qv, Transition as Kx, withKeys as _P, provide as Un, Teleport as Yx, onBeforeUnmount as Xx, toRaw as wP, resolveDynamicComponent as SP, mergeProps as xP, reactive as Zv, resolveDirective as AP, watchEffect as RP } from "vue";
3
3
  import ur from "dayjs";
4
4
  import { cloneDeep as ui } from "lodash-es";
@@ -59265,17 +59265,17 @@ const UY = /* @__PURE__ */ Yi($Y, [["render", GY], ["__scopeId", "data-v-01e4c58
59265
59265
  };
59266
59266
  n === "save" && (h.searchMap = a);
59267
59267
  try {
59268
- return r != null && r.token ? await is({
59268
+ return await is({
59269
59269
  url: `${t}/userSearch/${n}`,
59270
59270
  method: "post",
59271
59271
  headers: {
59272
59272
  // @ts-ignore
59273
- Authentication: r.token
59273
+ Authentication: r.token || null
59274
59274
  },
59275
59275
  data: h,
59276
59276
  // @ts-ignore
59277
59277
  signal: ((d = window.controller) == null ? void 0 : d.signal) || ""
59278
- }) : {};
59278
+ });
59279
59279
  } catch (u) {
59280
59280
  console.error(u);
59281
59281
  }