@skyfox2000/microbase 1.0.4 → 1.0.5

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/lib/index.d.ts CHANGED
@@ -109,7 +109,7 @@ export declare enum AppSource {
109
109
  /**
110
110
  * 深度合并QOD参数
111
111
  */
112
- export declare const combineParams: (...args: ReqParams[]) => ReqParams;
112
+ export declare const combineParams: (...args: (ReqParams | undefined)[]) => ReqParams;
113
113
 
114
114
  /**
115
115
  * 启动配置信息
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyfox2000/microbase",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "微前端通用功能与数据类型定义",
5
5
  "type": "module",
6
6
  "keywords": [],
package/src/utils/data.ts CHANGED
@@ -26,7 +26,7 @@ const mergeDeep = (
26
26
  /**
27
27
  * 深度合并QOD参数
28
28
  */
29
- export const combineParams = (...args: ReqParams[]): ReqParams => {
29
+ export const combineParams = (...args: (ReqParams | undefined)[]): ReqParams => {
30
30
  const mergedParams: ReqParams = {};
31
31
 
32
32
  // 合并选项对象