@ecan-bi/datav 1.1.11 → 1.1.12
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 +4 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -2
- 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.12 */
|
|
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";
|
|
@@ -1699,7 +1699,7 @@ const useVariablesInText = (formatter = "", data = {}, { useNewline = false, use
|
|
|
1699
1699
|
const useRequestData = (props2, callBack = () => {
|
|
1700
1700
|
}) => {
|
|
1701
1701
|
const {
|
|
1702
|
-
requestUrl
|
|
1702
|
+
requestUrl,
|
|
1703
1703
|
requestMethod: method,
|
|
1704
1704
|
requestHeaders: headers,
|
|
1705
1705
|
requestParams,
|
|
@@ -1715,6 +1715,8 @@ const useRequestData = (props2, callBack = () => {
|
|
|
1715
1715
|
getGlobalModel: (key) => void 0
|
|
1716
1716
|
});
|
|
1717
1717
|
const requestData = async (params = {}) => {
|
|
1718
|
+
const url = useVariablesInText(requestUrl);
|
|
1719
|
+
console.log("url", url);
|
|
1718
1720
|
if (!url || !method || !headers || unref(pageMode) === "design")
|
|
1719
1721
|
return;
|
|
1720
1722
|
let _params = {};
|