ls-pro-common 3.1.21 → 3.1.22
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/es/utils/index.d.ts +6 -4
- package/es/utils/index.js +1 -1
- package/lib/utils/index.d.ts +6 -4
- package/lib/utils/index.js +1 -1
- package/package.json +1 -1
package/es/utils/index.d.ts
CHANGED
|
@@ -194,13 +194,15 @@ export declare const deepClone: (obj: any) => any;
|
|
|
194
194
|
/**
|
|
195
195
|
* 在主工程中打开模块
|
|
196
196
|
*
|
|
197
|
-
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data
|
|
197
|
+
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data:参数,moduleName:模块名称}
|
|
198
198
|
*/
|
|
199
199
|
export declare const openPageInMain: (option: {
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
[key: string]: any;
|
|
201
|
+
path?: string | undefined;
|
|
202
|
+
resourceId?: string | undefined;
|
|
202
203
|
data?: any;
|
|
203
|
-
ifRefreshTarget?: boolean;
|
|
204
|
+
ifRefreshTarget?: boolean | undefined;
|
|
205
|
+
moduleName?: string | undefined;
|
|
204
206
|
}) => void;
|
|
205
207
|
/** 处理主题 */
|
|
206
208
|
export declare const handleTheme: () => void;
|
package/es/utils/index.js
CHANGED
|
@@ -429,7 +429,7 @@ export var deepClone = function deepClone(obj) {
|
|
|
429
429
|
/**
|
|
430
430
|
* 在主工程中打开模块
|
|
431
431
|
*
|
|
432
|
-
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data
|
|
432
|
+
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data:参数,moduleName:模块名称}
|
|
433
433
|
*/
|
|
434
434
|
export var openPageInMain = function openPageInMain(option) {
|
|
435
435
|
var win = top || window;
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -194,13 +194,15 @@ export declare const deepClone: (obj: any) => any;
|
|
|
194
194
|
/**
|
|
195
195
|
* 在主工程中打开模块
|
|
196
196
|
*
|
|
197
|
-
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data
|
|
197
|
+
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data:参数,moduleName:模块名称}
|
|
198
198
|
*/
|
|
199
199
|
export declare const openPageInMain: (option: {
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
[key: string]: any;
|
|
201
|
+
path?: string | undefined;
|
|
202
|
+
resourceId?: string | undefined;
|
|
202
203
|
data?: any;
|
|
203
|
-
ifRefreshTarget?: boolean;
|
|
204
|
+
ifRefreshTarget?: boolean | undefined;
|
|
205
|
+
moduleName?: string | undefined;
|
|
204
206
|
}) => void;
|
|
205
207
|
/** 处理主题 */
|
|
206
208
|
export declare const handleTheme: () => void;
|
package/lib/utils/index.js
CHANGED
|
@@ -429,7 +429,7 @@ export var deepClone = function deepClone(obj) {
|
|
|
429
429
|
/**
|
|
430
430
|
* 在主工程中打开模块
|
|
431
431
|
*
|
|
432
|
-
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data
|
|
432
|
+
* @param option {path:模块路由,需要加工程编码, resourceId: 资源Id,两者传一个即可,data:参数,moduleName:模块名称}
|
|
433
433
|
*/
|
|
434
434
|
export var openPageInMain = function openPageInMain(option) {
|
|
435
435
|
var win = top || window;
|