From 0fa31be851d0fcd30f34d577480ae219761dcaa3 Mon Sep 17 00:00:00 2001 From: lizhixian <18210040298@163.com> Date: Tue, 14 Jan 2025 17:20:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=A1=A8=E5=8D=95=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=8Cjson=E6=98=BE=E7=A4=BA=E5=92=8C?= =?UTF-8?q?=E7=94=9F=E6=88=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/infra/build/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/infra/build/index.vue b/src/views/infra/build/index.vue index 2eb63b6a..260b8b7a 100644 --- a/src/views/infra/build/index.vue +++ b/src/views/infra/build/index.vue @@ -162,7 +162,7 @@ const highlightedCode = (code: string) => { } // 高亮 const result = hljs.highlight(code, { language: language, ignoreIllegals: true }) - return result.value + return result.value || ' ' } /** 初始化 **/