This is an automated email from the ASF dual-hosted git repository.
100pah pushed a commit to branch v6.1.0
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
The following commit(s) were added to refs/heads/v6.1.0 by this push:
new c525d0ec fix: Fix doc cannot display default value `false`.
c525d0ec is described below
commit c525d0ecc0a14fff82b80443c275cb0d76a6ccb6
Author: 100pah <[email protected]>
AuthorDate: Sun May 24 02:38:25 2026 +0800
fix: Fix doc cannot display default value `false`.
---
src/components/DocContentItemCard.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/DocContentItemCard.vue
b/src/components/DocContentItemCard.vue
index d539a9b4..b3aff6d2 100644
--- a/src/components/DocContentItemCard.vue
+++ b/src/components/DocContentItemCard.vue
@@ -26,7 +26,7 @@
</span>
<span class="current-flag" v-if="shared.currentPath ===
nodeData.path"><i class="el-icon-caret-left"></i></span>
- <span class="default-value" v-if="nodeData.default && nodeData.default
!== '*'"> = {{nodeData.default}}</span>
+ <span class="default-value" v-if="nodeData.default != null &&
nodeData.default !== '*'"> = {{nodeData.default}}</span>
<span
:class="['control-toggle', enableUIControl ? 'active' : '']"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]