fix 模版编辑
This commit is contained in:
parent
7dbd070736
commit
e20f091f7a
|
@ -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})
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue