From 2379951f9fdf81ec587429fd6e7a5e86a71a652f Mon Sep 17 00:00:00 2001 From: yangjian Date: Sat, 21 Nov 2020 21:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Vditor=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=9A=84=E6=96=87=E6=A1=A3=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/app_doc/doc.html | 2 -- template/app_doc/docs_base.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/template/app_doc/doc.html b/template/app_doc/doc.html index a9ae9b4..1195b38 100644 --- a/template/app_doc/doc.html +++ b/template/app_doc/doc.html @@ -324,6 +324,4 @@ updateDocShare(share_data); }) - - {% endblock %} \ No newline at end of file diff --git a/template/app_doc/docs_base.html b/template/app_doc/docs_base.html index 7115edd..d7df395 100644 --- a/template/app_doc/docs_base.html +++ b/template/app_doc/docs_base.html @@ -509,7 +509,7 @@ if (outlineElement.innerText.trim() !== '') { // 去除vditor默认添加的空格字符 var toc_html = $("#toc-container"); - toc_html.html(toc_html.html().replace('  ','')) + //toc_html.html(toc_html.html().replace('  ','')) var toc_cnt = $(".markdown-toc-list").children().length; //console.log(toc_cnt) if(toc_cnt > 0){