@fmdevui/fm-dev 1.0.112 → 1.0.113

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.112 */
1
+ /*! fm-dev v1.0.113 */
2
2
  import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, withModifiers, mergeModels, useModel, effectScope, getCurrentInstance, shallowRef, isRef as isRef$1, inject, onUnmounted, h, Text, createSlots, renderSlot, markRaw, hasInjectionContext, toRaw as toRaw$1, isReactive as isReactive$1, toRef, unref, getCurrentScope, onScopeDispose, toRefs, resolveDirective, mergeProps, resolveDynamicComponent, useSlots, toHandlers, onBeforeUnmount, onUpdated, useAttrs, normalizeProps, guardReactiveProps } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -23688,13 +23688,13 @@ const useBaseApi = (module, options = {}) => {
23688
23688
  cancel
23689
23689
  );
23690
23690
  },
23691
- download: function(params, action, cancel = false) {
23691
+ download: function(data, action, cancel = false) {
23692
23692
  return request(
23693
23693
  {
23694
23694
  responseType: "arraybuffer",
23695
23695
  url: baseUrl + action,
23696
23696
  method: "post",
23697
- params
23697
+ data
23698
23698
  },
23699
23699
  cancel
23700
23700
  );
@@ -6,7 +6,7 @@ export declare const useBaseApi: (module: string, options?: CustomAxiosRequestCo
6
6
  pcomm: (data: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
7
7
  post: (data: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
8
8
  gcomm: (params: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
9
- download: (params: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
9
+ download: (data: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
10
10
  get: (params: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
11
11
  page: (data: any, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
12
12
  detail: (id: any, cancel?: boolean) => Promise<AxiosResponse<any, any>>;
@@ -45,13 +45,13 @@ const useBaseApi = (module, options = {}) => {
45
45
  cancel
46
46
  );
47
47
  },
48
- download: function(params, action, cancel = false) {
48
+ download: function(data, action, cancel = false) {
49
49
  return request$1(
50
50
  {
51
51
  responseType: "arraybuffer",
52
52
  url: baseUrl + action,
53
53
  method: "post",
54
- params
54
+ data
55
55
  },
56
56
  cancel
57
57
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [