@cc-component/cc-ex-component 1.8.8 → 1.8.9

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.
@@ -20,6 +20,10 @@ export class ExComponentModule {
20
20
  paramClose: { close: (openParam: any, closeParam: any) => void }
21
21
 
22
22
  ResetBaseWindow: string = "BaseWindow";
23
+ isDebug: boolean = false;
24
+ static Debug(isDebug: boolean) {
25
+ this._instance.isDebug = isDebug
26
+ }
23
27
  static Init() {
24
28
 
25
29
  }
@@ -15,6 +15,8 @@ interface IConfig {
15
15
  }
16
16
  declare global {
17
17
  namespace ExComponentModule {
18
+ /**开启打印日志 */
19
+ function Debug(isDebug: boolean);
18
20
  /**初始化 */
19
21
  function Init();
20
22
  /**开启按钮缩放 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-ex-component",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",