@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
|
|