fix(core): update

This commit is contained in:
2021-01-15 07:17:08 +00:00
parent 46a0220273
commit 4b53173618
2 changed files with 6 additions and 3 deletions

View File

@ -69,6 +69,9 @@ export function serializeFunction(rootNode) {
noteForAppending.push(childNode);
}
});
while(nodeArg.firstChild) {
nodeArg.removeChild(nodeArg.firstChild);
}
noteForAppending.forEach((childNode) => {
nodeArg.append(childNode);
});