dzkcc-mflow 0.0.37 → 0.0.38
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/dist/core/Core.js +2 -2
- package/dist/libs/UIManager.js +3 -6
- package/dist/mflow-tools.zip +0 -0
- package/package.json +1 -1
package/dist/core/Core.js
CHANGED
|
@@ -33,7 +33,7 @@ class AbstractCore {
|
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
getModel(modelClass) {
|
|
36
|
-
const className = modelClass
|
|
36
|
+
const className = modelClass;
|
|
37
37
|
// 如果已存在实例,直接返回
|
|
38
38
|
if (this.container.has(className)) {
|
|
39
39
|
return this.container.get(className);
|
|
@@ -55,7 +55,7 @@ class AbstractCore {
|
|
|
55
55
|
* ```
|
|
56
56
|
*/
|
|
57
57
|
getManager(managerClass) {
|
|
58
|
-
const className = managerClass
|
|
58
|
+
const className = managerClass;
|
|
59
59
|
// 如果已存在实例,直接返回
|
|
60
60
|
if (this.container.has(className)) {
|
|
61
61
|
return this.container.get(className);
|
package/dist/libs/UIManager.js
CHANGED
|
@@ -61,16 +61,13 @@ class CcocosUIManager {
|
|
|
61
61
|
return this.internalGetTopView();
|
|
62
62
|
}
|
|
63
63
|
open(viewClass, args) {
|
|
64
|
-
|
|
65
|
-
return this.internalOpen(className, args);
|
|
64
|
+
return this.internalOpen(viewClass, args);
|
|
66
65
|
}
|
|
67
66
|
close(viewClass) {
|
|
68
|
-
|
|
69
|
-
this.internalClose(className);
|
|
67
|
+
this.internalClose(viewClass);
|
|
70
68
|
}
|
|
71
69
|
openAndPush(viewClass, group, args) {
|
|
72
|
-
|
|
73
|
-
return this.internalOpenAndPush(className, group, args);
|
|
70
|
+
return this.internalOpenAndPush(viewClass, group, args);
|
|
74
71
|
}
|
|
75
72
|
closeAndPop(group, destroy) {
|
|
76
73
|
this.internalCloseAndPop(group, destroy);
|
package/dist/mflow-tools.zip
CHANGED
|
Binary file
|
package/package.json
CHANGED