@ecan-bi/datav 1.0.95 → 1.0.96

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.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.0.95 */
1
+ /*! @ecan-bi/datav@1.0.96 */
2
2
  (function(global, factory) {
3
3
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("echarts/core"), require("resize-detector"), require("ant-design-vue"), require("ant-design-vue/es/spin/style"), require("ant-design-vue/es/skeleton/style"), require("lodash-es"), require("axios"), require("mitt"), require("dayjs"), require("ant-design-vue/es/progress/style"), require("ant-design-vue/es/input/style"), require("ant-design-vue/es/date-picker/style"), require("ant-design-vue/es/date-picker/locale/zh_CN"), require("ant-design-vue/es/select/style"), require("ant-design-vue/es/button/style"), require("ant-design-vue/es/checkbox/style"), require("echarts/renderers"), require("echarts/charts"), require("echarts/components"), require("echarts"), require("ant-design-vue/es/modal/style"), require("ant-design-vue/es/table/style")) : typeof define === "function" && define.amd ? define(["exports", "vue", "echarts/core", "resize-detector", "ant-design-vue", "ant-design-vue/es/spin/style", "ant-design-vue/es/skeleton/style", "lodash-es", "axios", "mitt", "dayjs", "ant-design-vue/es/progress/style", "ant-design-vue/es/input/style", "ant-design-vue/es/date-picker/style", "ant-design-vue/es/date-picker/locale/zh_CN", "ant-design-vue/es/select/style", "ant-design-vue/es/button/style", "ant-design-vue/es/checkbox/style", "echarts/renderers", "echarts/charts", "echarts/components", "echarts", "ant-design-vue/es/modal/style", "ant-design-vue/es/table/style"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@ecan/bi-datav"] = {}, global.vue, global["echarts/core"], global["resize-detector"], global["ant-design-vue"], null, null, global["lodash-es"], global.axios, global.mitt, global.dayjs, null, null, null, global["ant-design-vue/es/date-picker/locale/zh_CN"], null, null, null, global["echarts/renderers"], global["echarts/charts"], global["echarts/components"], global.echarts));
4
4
  })(this, function(exports2, vue, core, resizeDetector, antDesignVue, style$1, style$2, lodashEs, axios, mitt, dayjs, style$3, style$4, style$5, locale, style$6, style$7, style$8, renderers, charts, components$1, echarts) {
@@ -6618,8 +6618,14 @@
6618
6618
  const myLink = vue.computed(() => {
6619
6619
  let link = useVariablesInText(props2.link);
6620
6620
  if (props2.linkType === "erd" && link != null) {
6621
- const erdUrl = ERD_URL || vue.unref(contextRequestUrl) + "/erdReport";
6622
- link = `${vue.unref(erdUrl)}?_t=0&uid=${link}`;
6621
+ let ctxErdUrl = vue.unref(contextRequestUrl);
6622
+ if (ctxErdUrl[ctxErdUrl.length - 1] === "/") {
6623
+ ctxErdUrl += "erdReport";
6624
+ } else {
6625
+ ctxErdUrl += "/erdReport";
6626
+ }
6627
+ const erdUrl = ERD_URL || ctxErdUrl;
6628
+ link = `${erdUrl}?_t=0&uid=${link}`;
6623
6629
  }
6624
6630
  return link;
6625
6631
  });
@@ -6629,7 +6635,7 @@
6629
6635
  };
6630
6636
  }
6631
6637
  });
6632
- const Iframe_vue_vue_type_style_index_0_scoped_9631ea8e_lang = "";
6638
+ const Iframe_vue_vue_type_style_index_0_scoped_b0be60e8_lang = "";
6633
6639
  const _hoisted_1$2 = ["src"];
6634
6640
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
6635
6641
  return _ctx.myLink ? (vue.openBlock(), vue.createElementBlock("iframe", {
@@ -6642,7 +6648,7 @@
6642
6648
  style: vue.normalizeStyle(_ctx.style)
6643
6649
  }, " \u8BF7\u586B\u5199\u7F51\u9875\u94FE\u63A5 ", 4));
6644
6650
  }
6645
- const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-9631ea8e"]]);
6651
+ const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-b0be60e8"]]);
6646
6652
  const EcanIframe = withInstall(Iframe);
6647
6653
  const tableProps = {
6648
6654
  ...props,