@ecan-bi/datav 1.5.15 → 1.5.16

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.5.15 */
1
+ /*! @ecan-bi/datav@1.5.16 */
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, withModifiers, toDisplayString, pushScopeId, popScopeId, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, reactive, useCssVars, createSlots, createTextVNode, withDirectives, vShow, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -10022,7 +10022,12 @@ const pivotTableProps = {
10022
10022
  }, Pn = () => {
10023
10023
  v.value = 1;
10024
10024
  };
10025
- return u({
10025
+ return watch(v, (zn) => {
10026
+ localStorage.setItem("indDetailZoom", String(zn));
10027
+ }), onMounted(() => {
10028
+ const zn = localStorage.getItem("indDetailZoom");
10029
+ zn && (v.value = +zn);
10030
+ }), u({
10026
10031
  showModal: w
10027
10032
  }), {
10028
10033
  visible: f,
@@ -10042,7 +10047,7 @@ const pivotTableProps = {
10042
10047
  handleResetZoom: Pn
10043
10048
  };
10044
10049
  }
10045
- }), IndicatorDetailModal_vue_vue_type_style_index_0_scoped_4fddc6ef_lang = "", IndicatorDetailModal_vue_vue_type_style_index_1_lang = "", _withScopeId$6 = (c) => (pushScopeId("data-v-4fddc6ef"), c = c(), popScopeId(), c), _hoisted_1$j = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "modal-title" }, "指标详情", -1)), _hoisted_2$9 = { class: "zoom-btn" }, _hoisted_3$5 = {
10050
+ }), IndicatorDetailModal_vue_vue_type_style_index_0_scoped_d01553d0_lang = "", IndicatorDetailModal_vue_vue_type_style_index_1_lang = "", _withScopeId$6 = (c) => (pushScopeId("data-v-d01553d0"), c = c(), popScopeId(), c), _hoisted_1$j = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "modal-title" }, "指标详情", -1)), _hoisted_2$9 = { class: "zoom-btn" }, _hoisted_3$5 = {
10046
10051
  key: 0,
10047
10052
  class: "spin-container"
10048
10053
  }, _hoisted_4$4 = ["innerHTML"], _hoisted_5$3 = { class: "index-name" }, _hoisted_6$3 = {
@@ -10152,7 +10157,7 @@ function _sfc_render$D(c, u, f, d, p, m) {
10152
10157
  _: 1
10153
10158
  }, 8, ["visible", "getContainer", "bodyStyle", "wrap-class-name", "onCancel"]);
10154
10159
  }
10155
- const IndicatorDetailModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$D], ["__scopeId", "data-v-4fddc6ef"]]), lineProps = {
10160
+ const IndicatorDetailModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$D], ["__scopeId", "data-v-d01553d0"]]), lineProps = {
10156
10161
  ...props,
10157
10162
  id: "",
10158
10163
  name: "折线图",