@ecan-bi/datav 1.1.7 → 1.1.8

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.7 */
1
+ /*! @ecan-bi/datav@1.1.8 */
2
2
  var _a, _b, _c, _d;
3
3
  import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, normalizeStyle, createCommentVNode, provide, onBeforeUnmount, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createSlots, resolveDynamicComponent, mergeProps, withModifiers, reactive, createTextVNode, withDirectives, vShow } from "vue";
4
4
  import { throttle, init, use, registerMap } from "echarts/core";
@@ -1493,7 +1493,7 @@ const props = {
1493
1493
  isOpenRequestTimer: false,
1494
1494
  requestInterval: 1,
1495
1495
  requestSort: 0,
1496
- requestParams: [{ key: "", value: { id: "", prop: "" } }],
1496
+ requestParams: [{ key: null, value: {} }],
1497
1497
  events: [],
1498
1498
  dataType: "static"
1499
1499
  };
@@ -5875,13 +5875,16 @@ const _sfc_main$7 = defineComponent({
5875
5875
  if (tooltipFormatter === "") {
5876
5876
  tooltipFormatter = "{marker} {a} {c}";
5877
5877
  }
5878
+ const seriesTypes = props2.seriesTypes;
5878
5879
  for (let i = 0; i < len; i++) {
5880
+ const seriesType = seriesTypes[i];
5881
+ const { tooltipFormatter: _tooltipFormatter } = seriesType || {};
5879
5882
  const { marker, seriesName, name, value, data } = params[i] || {};
5880
5883
  if (i === 0) {
5881
5884
  formatter += `${name}<br/>`;
5882
5885
  }
5883
5886
  formatter += useVariablesInText(
5884
- tooltipFormatter,
5887
+ _tooltipFormatter || tooltipFormatter,
5885
5888
  {
5886
5889
  marker,
5887
5890
  name,