@ecan-bi/datav 1.4.78 → 1.4.79

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.78 */
1
+ /*! @ecan-bi/datav@1.4.79 */
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, reactive, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, 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";
@@ -9119,10 +9119,10 @@ const handleFormatter = (c) => c.replace(/\\n/g, `
9119
9119
  if (vn != null && vn.length) {
9120
9120
  const Fn = [];
9121
9121
  for (const Rn of y)
9122
- if (vn.find((_) => _[J] !== Rn)) {
9122
+ if (!vn.find((_) => +_[J] == +Rn) && !isNaN(+Rn)) {
9123
9123
  const _ = cloneDeep(vn[0]);
9124
9124
  for (const gn in _)
9125
- gn === J ? _[gn] = Rn : _[gn] = 0;
9125
+ gn === J ? _[gn] = +Rn : _[gn] = 0;
9126
9126
  Fn.push(_);
9127
9127
  }
9128
9128
  re.data.push(...Fn), re.data.sort((Rn, _) => dayjs(Rn[J]).isBefore(dayjs(_[J])) ? -1 : 1);