@ecan-bi/datav 1.1.33 → 1.1.34

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.1.33 */
1
+ /*! @ecan-bi/datav@1.1.34 */
2
2
  import { watch as ee, inject as z, computed as B, unref as A, watchEffect as lo, defineComponent as Z, shallowRef as ht, toRefs as Tn, onMounted as Ze, onUnmounted as dt, h as rt, nextTick as ut, createVNode as G, resolveComponent as q, openBlock as E, createElementBlock as R, createBlock as Ie, renderSlot as ft, withCtx as V, ref as L, normalizeStyle as P, createCommentVNode as be, provide as De, onBeforeUnmount as Nt, toDisplayString as me, Fragment as xe, renderList as Te, createElementVNode as K, normalizeClass as At, pushScopeId as io, popScopeId as ro, createSlots as _n, resolveDynamicComponent as Ln, mergeProps as In, withModifiers as Mn, reactive as En, createTextVNode as so, withDirectives as Fn, vShow as On } from "vue";
3
3
  import { throttle as Rn, init as Dn, use as Ne, registerMap as zn } from "echarts/core";
4
4
  import { addListener as Nn, removeListener as $n } from "resize-detector";
@@ -1580,9 +1580,9 @@ const Dt = (e) => {
1580
1580
  r = r == null ? void 0 : r.replace(/value/g, o);
1581
1581
  try {
1582
1582
  let s = r;
1583
- /[+\-*/%]+/g.test(r) && (s = (0, eval)(r)), e = e.replace(i, s);
1583
+ r !== o.toString() && (s = (0, eval)(r)), e = e.replace(i, s);
1584
1584
  } catch {
1585
- e = e.replace(i, r);
1585
+ console.log("-"), e = e.replace(i, r);
1586
1586
  }
1587
1587
  }
1588
1588
  return e;