fix:control style lost after saved

pr675
黄云飞 4 years ago
parent e079a2400b
commit 2842d86b41

@ -116,6 +116,7 @@ export function formatElementList(elementList: IElement[], options: IFormatEleme
for (let e = 0; e < valueStrList.length; e++) { for (let e = 0; e < valueStrList.length; e++) {
const value = valueStrList[e] const value = valueStrList[e]
elementList.splice(i, 0, { elementList.splice(i, 0, {
...element,
controlId, controlId,
value, value,
type: el.type, type: el.type,

Loading…
Cancel
Save