mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +00:00
fix: 补全 packageName, 否则在组件面板会被隐藏
This commit is contained in:
parent
6370889c76
commit
88e5008139
@ -126,7 +126,7 @@ export default class Bundle {
|
||||
*/
|
||||
if (bundles.length >= 2) {
|
||||
const prototype = bundles[0];
|
||||
const metadata = upgradeMetadata(prototype.options);
|
||||
const metadata = upgradeMetadata({ ...prototype.options, packageName: prototype.packageName });
|
||||
prototype.meta = designer.createComponentMeta(metadata);
|
||||
const prototypeView = bundles[1];
|
||||
prototype.setView(prototypeView);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user