@cc-component/cc-ex-component 1.4.8 → 1.4.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.
@@ -380,8 +380,8 @@ const { ccclass, property } = _decorator;
380
380
  }`
381
381
  const classView = `
382
382
  @BindViewModel(${className}Data)
383
- @ccclass('${className}')
384
- export class ${className} extends ViewModel(${this.baseWindowName}) {${sx.text}\n${onload}\n\n${sx.event}\n}`
383
+ @ccclass('${className}Window')
384
+ export class ${className}Window extends ViewModel(${this.baseWindowName}) {${sx.text}\n${onload}\n\n${sx.event}\n}`
385
385
 
386
386
  text += classView
387
387
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-ex-component",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",