fix 模版编辑

This commit is contained in:
chenjianxing 2020-05-09 09:33:53 +08:00
parent 7dbd070736
commit e20f091f7a
1 changed files with 1 additions and 1 deletions

View File

@ -225,10 +225,10 @@
buildParam(param) {
let content = {};
content.components = [];
content.customComponent = new Map();
this.previews.forEach(item => {
content.components.push(item.id);
if (!this.componentMap.get(item.id)) {
content.customComponent = new Map();
content.customComponent.set(item.id, {title: item.title, content: item.content})
}
});