mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
Merge branch 'fix/lihao-bugs-200827' into 'release/0.9.14'
fix: 用户在动态修改 prototype 时也需要重新计算 meta See merge request !951264
This commit is contained in:
commit
ec3a979bca
@ -126,8 +126,8 @@ export default class Bundle {
|
||||
*/
|
||||
if (bundles.length >= 2) {
|
||||
const prototype = bundles[0];
|
||||
// const metadata = upgradeMetadata(prototype.options);
|
||||
// prototype.meta = designer.createComponentMeta(metadata);
|
||||
const metadata = upgradeMetadata(prototype.options);
|
||||
prototype.meta = designer.createComponentMeta(metadata);
|
||||
const prototypeView = bundles[1];
|
||||
prototype.setView(prototypeView);
|
||||
this.registerPrototype(prototype);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user