@ecan-bi/datav 1.1.15 → 1.1.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 +5 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
1
|
+
/*! @ecan-bi/datav@1.1.16 */
|
|
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";
|
|
@@ -1679,10 +1679,8 @@ const useVariablesInText = (formatter = "", data = {}, { useNewline = false, use
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
try {
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
statement = eval2(statement);
|
|
1685
|
-
}
|
|
1682
|
+
const eval2 = eval;
|
|
1683
|
+
statement = eval2(statement);
|
|
1686
1684
|
} catch (e) {
|
|
1687
1685
|
console.error(e);
|
|
1688
1686
|
}
|
|
@@ -1867,8 +1865,8 @@ const useImagePath = (path, isFormat = false) => {
|
|
|
1867
1865
|
return imagePath;
|
|
1868
1866
|
};
|
|
1869
1867
|
const usePageUrl = (pageMode, pageId) => {
|
|
1870
|
-
const envPageUrl = `${BASE_URL}preview?pageId=${pageId}`;
|
|
1871
|
-
const proPageUrl = `${BASE_URL}
|
|
1868
|
+
const envPageUrl = `${BASE_URL}/preview?pageId=${pageId}`;
|
|
1869
|
+
const proPageUrl = `${BASE_URL}/${pageId}`;
|
|
1872
1870
|
return pageMode === "preview" ? envPageUrl : proPageUrl;
|
|
1873
1871
|
};
|
|
1874
1872
|
const request = axios.create({});
|