diff --git a/docs/.vuepress/markdown/inject-json-to-md.js b/docs/.vuepress/markdown/inject-json-to-md.js index e45021dac9e77a8ef535f3b539410a223fc182bb..cae3c6ad9e2a2d21e3305e652f55767d4cbc3a2b 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 } }