refactor: ui

This commit is contained in:
xiaojunnuo
2021-02-04 21:24:07 +08:00
parent cca33478e4
commit 86ddb72227
17 changed files with 673 additions and 1815 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -11,9 +11,7 @@ export class Registry {
if (this.collection == null) {
this.collection = {}
}
const className = target.name
this.register(className, target)
const defineName = target.define && target.define().name
const defineName = (target.define && target.define().name) || target.name
this.register(defineName, target)
}