fix build error

Signed-off-by: yaoyuchi <yaoyuchi@huawei.com>
This commit is contained in:
yaoyuchi
2022-02-11 15:56:58 +08:00
parent 6756ef64c7
commit e63ccc66a9
+1 -1
View File
@@ -1118,7 +1118,7 @@ function setContent(el: Element, key: string): string {
for (i = 0; i < itemLength; i++) {
const contentType = finallyItems[i].contentType;
switch (contentType) {
case ContentType.CONTENTSTRING:
case ContentType.CONTENT_STRING:
contentValue = contentValue + getContentString(finallyItems[i].value);
break;
case ContentType.CONTENT_OPEN_QUOTE: