@ecan-bi/datav 1.0.98 → 1.0.99

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.98 */
1
+ /*! @ecan-bi/datav@1.0.99 */
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) {
@@ -1756,7 +1756,7 @@
1756
1756
  _params[key] = useVariablesInText(value);
1757
1757
  }
1758
1758
  });
1759
- _params = { ...window.config.requestParams, ..._params, ...params };
1759
+ _params = { ...window.config.requestParams, ...params, ..._params };
1760
1760
  let urlParams = "";
1761
1761
  const keys = Object.keys(_params);
1762
1762
  const last = keys.length - 1;
@@ -6881,7 +6881,7 @@
6881
6881
  deep: true,
6882
6882
  immediate: true
6883
6883
  });
6884
- const orderCondition = vue.ref(void 0);
6884
+ const orderCondition = vue.ref("");
6885
6885
  const requestData = useRequestData(props2);
6886
6886
  const loading = vue.ref(false);
6887
6887
  const handleRequestData = async (isUseLoading = true) => {
@@ -6889,9 +6889,10 @@
6889
6889
  try {
6890
6890
  if (isUseLoading)
6891
6891
  loading.value = true;
6892
- let params = {
6893
- orderCondition: vue.unref(orderCondition)
6894
- };
6892
+ let params = {};
6893
+ if (vue.unref(orderCondition) != null) {
6894
+ params.orderCondition = vue.unref(orderCondition);
6895
+ }
6895
6896
  if (props2.paginationShow) {
6896
6897
  params = {
6897
6898
  pageNum: vue.unref(pageNum),
@@ -7105,7 +7106,7 @@
7105
7106
  };
7106
7107
  }
7107
7108
  });
7108
- const Table_vue_vue_type_style_index_0_scoped_9d631b38_lang = "";
7109
+ const Table_vue_vue_type_style_index_0_scoped_7b4da072_lang = "";
7109
7110
  const Table_vue_vue_type_style_index_1_lang = "";
7110
7111
  const _hoisted_1$1 = {
7111
7112
  key: 1,
@@ -7223,7 +7224,7 @@
7223
7224
  }, 8, ["loading"])
7224
7225
  ], 4);
7225
7226
  }
7226
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-9d631b38"]]);
7227
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-7b4da072"]]);
7227
7228
  const EcanTable = withInstall(Table);
7228
7229
  const mapProps = {
7229
7230
  ...props,