mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +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);
|
let cls = this.getClass(method.className);
|
||||||
cls.methods.push(method);
|
cls.methods.push(method);
|
||||||
} else if (this.cls) {
|
} else if (this.cls) {
|
||||||
|
if(!this.cls.methods) {
|
||||||
|
this.cls.methods = [];
|
||||||
|
}
|
||||||
this.cls.methods.push(method);
|
this.cls.methods.push(method);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user