You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2021/08/26 11:35:09 UTC

[echarts-handbook] branch master updated: hide post nav bar if no achors

This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e40304  hide post nav bar if no achors
8e40304 is described below

commit 8e403043e6f6be30ecd650efd92cc44105bb5e3b
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Thu Aug 26 19:33:34 2021 +0800

    hide post nav bar if no achors
---
 pages/_.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/_.vue b/pages/_.vue
index e45dd14..115e7c7 100644
--- a/pages/_.vue
+++ b/pages/_.vue
@@ -1,7 +1,7 @@
 <template>
   <div>
     <div class="post-inner">
-      <div class="table-of-contents">
+      <div v-if="toc.length" class="table-of-contents">
         <h4 class="toc-container-header">{{ $t('inThisPage') }}</h4>
         <ul>
           <li

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org