improve idl_gen

This commit is contained in:
lixianjing 2023-10-10 17:55:54 +08:00
parent 38645c3a17
commit c5f34b554a

View File

@ -163,6 +163,9 @@ class IDLGen {
let cls = this.getClass(method.className);
cls.methods.push(method);
} else if (this.cls) {
if(!this.cls.methods) {
this.cls.methods = [];
}
this.cls.methods.push(method);
}