From c3a3c3b063f44264f14b7cb5842dfa11e228aeca Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Fri, 10 May 2024 17:27:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E6=B3=A8=E5=85=A5=20json=20?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E8=A1=A8=E6=A0=BC=E6=B3=A8=E9=87=8A=E5=92=8C?= =?UTF-8?q?=E4=B8=8B=E4=B8=80=E4=B8=AA=E6=B3=A8=E9=87=8A=E7=B4=A7=E6=8C=A8?= =?UTF-8?q?=E7=9D=80=EF=BC=8C=E4=B8=94=E4=B8=8B=E4=B8=80=E4=B8=AA=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=BA=E7=A9=BA=E6=97=B6=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=20parse=20=E5=A4=9A=E4=B8=80=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/markdown/inject-json-to-md.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vuepress/markdown/inject-json-to-md.js b/docs/.vuepress/markdown/inject-json-to-md.js index e45021da..cae3c6ad 100644 --- a/docs/.vuepress/markdown/inject-json-to-md.js +++ b/docs/.vuepress/markdown/inject-json-to-md.js @@ -166,7 +166,7 @@ module.exports = md => { if (!temp) return false temp = temp[key] }) - if (!temp) continue + if (typeof temp === 'undefined') continue lines[index] = temp } } -- GitLab