From f719a002d0bd3bb1e96faf0687c712a10f7c47cf Mon Sep 17 00:00:00 2001 From: guofeilong Date: Thu, 30 Mar 2023 13:13:06 +0800 Subject: [PATCH] * Adjust code . --- module/doc/js/tablecontents.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/doc/js/tablecontents.js b/module/doc/js/tablecontents.js index dd187c2529..4ce7a77cf1 100644 --- a/module/doc/js/tablecontents.js +++ b/module/doc/js/tablecontents.js @@ -20,7 +20,8 @@ $(function() var imgObj = { 'annex': 'annex', 'lib': 'wiki-file-lib', - 'api': 'interface' + 'api': 'interface', + 'execution': 'wiki-file-lib', } function initTree(ele, treeData) @@ -37,7 +38,7 @@ $(function() var $item = ''; $item += '
'; - if(libClass == 'lib' && item.type != 'execution') $item += '
'; + if(libClass == 'lib') $item += '
'; $item += ''; $item += item.name $item += '';