@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.es.js +11 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +11 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.96 */
|
|
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, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createSlots, resolveDynamicComponent, mergeProps, withModifiers, withDirectives, vShow } from "vue";
|
|
4
4
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
@@ -6613,8 +6613,14 @@ const _sfc_main$2 = defineComponent({
|
|
|
6613
6613
|
const myLink = computed(() => {
|
|
6614
6614
|
let link = useVariablesInText(props2.link);
|
|
6615
6615
|
if (props2.linkType === "erd" && link != null) {
|
|
6616
|
-
|
|
6617
|
-
|
|
6616
|
+
let ctxErdUrl = unref(contextRequestUrl);
|
|
6617
|
+
if (ctxErdUrl[ctxErdUrl.length - 1] === "/") {
|
|
6618
|
+
ctxErdUrl += "erdReport";
|
|
6619
|
+
} else {
|
|
6620
|
+
ctxErdUrl += "/erdReport";
|
|
6621
|
+
}
|
|
6622
|
+
const erdUrl = ERD_URL || ctxErdUrl;
|
|
6623
|
+
link = `${erdUrl}?_t=0&uid=${link}`;
|
|
6618
6624
|
}
|
|
6619
6625
|
return link;
|
|
6620
6626
|
});
|
|
@@ -6624,7 +6630,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
6624
6630
|
};
|
|
6625
6631
|
}
|
|
6626
6632
|
});
|
|
6627
|
-
const
|
|
6633
|
+
const Iframe_vue_vue_type_style_index_0_scoped_b0be60e8_lang = "";
|
|
6628
6634
|
const _hoisted_1$2 = ["src"];
|
|
6629
6635
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6630
6636
|
return _ctx.myLink ? (openBlock(), createElementBlock("iframe", {
|
|
@@ -6637,7 +6643,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6637
6643
|
style: normalizeStyle(_ctx.style)
|
|
6638
6644
|
}, " \u8BF7\u586B\u5199\u7F51\u9875\u94FE\u63A5 ", 4));
|
|
6639
6645
|
}
|
|
6640
|
-
const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
6646
|
+
const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-b0be60e8"]]);
|
|
6641
6647
|
const EcanIframe = withInstall(Iframe);
|
|
6642
6648
|
const tableProps = {
|
|
6643
6649
|
...props,
|