<div class="panel-sidebar">
    <div class="panel-title">
        <div class="title-bar">
            <h2>项目设置</h2>
        </div>
    </div>
    <div class="scrollbar-auto">
        <div class="nav-box">
            <ul class="nav-list list-unstyled">
                <% for (const index in ctx.subMenu) { %>
                <li <% if (ctx.url === ctx.subMenu[index].url) { %>class="active"<% } %>>
                    <a href="<%- ctx.subMenu[index].url %>">
                        <span><%- ctx.subMenu[index].caption %></span>
                    </a>
                </li>
                <% } %>
            </ul>
        </div>
    </div>
</div>