使用include，子模板外层使用if else出错
               {{ if nowSidebarItem.path === "collect" }}
                    <ul>
                        {{ each content }}
                            <li>
                                {{ $value.name }}
                            </li>
                        {{ /each }}
                    </ul>
                {{ /if }}
                {{ if nowSidebarItem.path !== "collect" }}
                    {{ include("report_collect", {data: "99"}) }}
                {{ /if }}

上面的写法没问题，但是条件反过来诡异的事情就出现了:

               {{ if nowSidebarItem.path !== "collect" }}
                    <ul>
                        {{ each content }}
                            <li>
                                {{ $value.name }}
                            </li>
                        {{ /each }}
                    </ul>
                {{ /if }}
                {{ if nowSidebarItem.path === "collect" }}
                    {{ include("report_collect", {data: "99"}) }}
                {{ /if }}

![image](https://user-images.githubusercontent.com/19986684/54415789-56b5b380-4738-11e9-9d03-afcbf5ac52ef.png)
