@ives_xxz/framework 1.5.2 → 1.5.3

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.
Files changed (2) hide show
  1. package/FrameworkBase.ts +2 -2
  2. package/package.json +1 -1
package/FrameworkBase.ts CHANGED
@@ -50,7 +50,7 @@ export abstract class FrameworkBase {
50
50
  const bundleName = this.findBundleNameByClassName();
51
51
  if (!bundleName) return;
52
52
 
53
- const tag = this.getTag();
53
+ const tag = this.getClassTag();
54
54
 
55
55
  if (tag !== FWSystemDefine.FWBindTag.LOGIC) {
56
56
  this.logic = Framework.getComponent<FW.Logic>(
@@ -145,7 +145,7 @@ export abstract class FrameworkBase {
145
145
  return classNameLower.includes(bundleNameLower);
146
146
  }
147
147
 
148
- private getTag(): FWSystemDefine.FWBindTag {
148
+ private getClassTag(): FWSystemDefine.FWBindTag {
149
149
  const className = this.moduleName;
150
150
  if (className.endsWith('Logic')) return FWSystemDefine.FWBindTag.LOGIC;
151
151
  if (className.endsWith('Data')) return FWSystemDefine.FWBindTag.DATA;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ives_xxz/framework",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "cocoscreator 2.x mvc framework",
5
5
  "main": "index.js",
6
6
  "keywords": ["123456"],