Merge branch 'develop' into feat/0228

This commit is contained in:
刘菊萍(絮黎) 2023-03-10 16:33:23 +08:00 committed by GitHub
commit cb04c10e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,19 +119,16 @@ skeleton.add({
area: "leftArea", area: "leftArea",
type: "Dock", type: "Dock",
name: "opener", name: "opener",
content: Opener, // Widget 组件实例
contentProps: { // Widget 插件 props
xxx: "1",
},
props: { props: {
icon: Icon, // Icon 组件实例
align: "bottom", align: "bottom",
},
onClick: function () { onClick: function () {
// 打开外部链接 // 打开外部链接
window.open('https://lowcode-engine.cn'); window.open('https://lowcode-engine.cn');
// 显示 widget // 显示 widget
skeleton.showWidget('xxx'); skeleton.showWidget('xxx');
} }
}
}); });
``` ```