@ecan-bi/datav 1.4.45 → 1.4.47

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/datav@1.4.45 */
1
+ /*! @ecan-bi/datav@1.4.47 */
2
2
  import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, onBeforeUnmount, normalizeClass as normalizeClass$1, normalizeStyle as normalizeStyle$1, createElementVNode, createCommentVNode, Fragment, renderList, provide, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, reactive, vModelText, getCurrentInstance, onDeactivated, isRef, onActivated, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -9343,7 +9343,7 @@ const useRequestData = (c, f, u = () => {
9343
9343
  vr = gr;
9344
9344
  lr[ar] = vr;
9345
9345
  } else
9346
- typeof Yn == "object" && Yn.id === null && vn === 1 ? (console.log(Yn.propKey, "value.propKey"), lr[ar] = Yn.propKey) : typeof Yn == "string" && (lr[ar] = hn(Yn));
9346
+ typeof Yn == "object" && !Yn.id && vn === 1 ? (console.log(Yn.propKey, "value.propKey"), lr[ar] = Yn.propKey) : typeof Yn == "string" && (lr[ar] = hn(Yn));
9347
9347
  }
9348
9348
  if (vn === 1) {
9349
9349
  console.log(lr, "_params");
@@ -9394,7 +9394,7 @@ const useRequestData = (c, f, u = () => {
9394
9394
  const Jn = Object.keys(lr), zn = Jn.length - 1, Hn = Jn.length;
9395
9395
  Jn.forEach((tr, ar) => {
9396
9396
  let Yn = lr[tr];
9397
- Object.prototype.toString.call(Yn) === "[object Object]" && (Yn = JSON.stringify(Yn)), ar === 0 ? Hn !== 1 ? Un += `?${tr}=${Yn}&` : Un += `?${tr}=${Yn}` : ar === zn ? Un += `${tr}=${Yn}` : Un += `${tr}=${Yn}&`;
9397
+ Yn && (lr[tr] = decodeURIComponent(Yn)), Object.prototype.toString.call(Yn) === "[object Object]" && (Yn = JSON.stringify(Yn)), ar === 0 ? Hn !== 1 ? Un += `?${tr}=${Yn}&` : Un += `?${tr}=${Yn}` : ar === zn ? Un += `${tr}=${Yn}` : Un += `${tr}=${Yn}&`;
9398
9398
  }), Wn.includes("?") && (Un = Un.replace("?", "&"));
9399
9399
  function Xn(tr) {
9400
9400
  var ar;