fix:表单构建页面,json显示和生成问题

pull/657/head
lizhixian 2025-01-14 17:20:51 +08:00
parent aba4705b8e
commit 0fa31be851
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ const highlightedCode = (code: string) => {
}
//
const result = hljs.highlight(code, { language: language, ignoreIllegals: true })
return result.value
return result.value || ' '
}
/** 初始化 **/