How to export ipynb as html_with_toc

I have a file(.ipynb) which have many interact pictures. These pictures are made with pyecharts. When I download as html_with_toc, but the result don’t has toc. I don’t know why this happens?
Thanks.