fix:表单构建页面,json显示和生成问题
parent
aba4705b8e
commit
0fa31be851
|
@ -162,7 +162,7 @@ const highlightedCode = (code: string) => {
|
|||
}
|
||||
// 高亮
|
||||
const result = hljs.highlight(code, { language: language, ignoreIllegals: true })
|
||||
return result.value
|
||||
return result.value || ' '
|
||||
}
|
||||
|
||||
/** 初始化 **/
|
||||
|
|
Loading…
Reference in New Issue