mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 10:38:47 +08:00
improve idl_gen
This commit is contained in:
parent
38645c3a17
commit
c5f34b554a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user