Optimize attr inputer

This commit is contained in:
2022-03-08 13:53:08 +08:00
parent 8f5fff920f
commit 45975cafe7
5 changed files with 82 additions and 54 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ function useStatusWithEvent(...events: Array<keyof IStatusEvent>) {
private mountEvent() {
if (this.status && !this.isEventMount) {
this.isEventMount = true;
console.log("event mount");
console.log("Component dep event mount: " + events.join(", "));
for (let i = 0; i < events.length; i++) {
this.status.on(events[i], this.handelChange);
}