mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
Merge branch 'fix/ducheng-1116-bugs' into 'release/1.0.0'
feat: 新增插件的静态函数onInit,每次插件安装的时候会执行 See merge request !1053631
This commit is contained in:
commit
c06249b1a4
@ -109,6 +109,10 @@ export default class Panel implements IWidget {
|
||||
if (props.onInit) {
|
||||
props.onInit.call(this, this);
|
||||
}
|
||||
|
||||
if (content.onInit) {
|
||||
content.onInit.call(this, this);
|
||||
}
|
||||
// todo: process shortcut
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user