Commit 0fa31be8 by lizhixian

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

parent aba4705b
...@@ -162,7 +162,7 @@ const highlightedCode = (code: string) => { ...@@ -162,7 +162,7 @@ const highlightedCode = (code: string) => {
} }
// 高亮 // 高亮
const result = hljs.highlight(code, { language: language, ignoreIllegals: true }) const result = hljs.highlight(code, { language: language, ignoreIllegals: true })
return result.value return result.value || ' '
} }
/** 初始化 **/ /** 初始化 **/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment