Appendix section titles disappear?

I am writing an appendix in my paper. But it seems the section titles in the appendix part disappear. I've reviewed a lot of relevant problems but doesn't help. This is my code:

\documentclass[journal]{IEEEtran}

\begin{document}
\section{...}

\appendix
\section{A}
fgh
\section{sss}
afh

\end{document}


But it shows

I'm using Overleaf v2 pdfLatex to compile and it did not report any errors. So anyone can help?

• Please provide a minimal example that reproduces the problem, and remove extra part. – A Diyanat Jul 25 '19 at 3:44

You should use \appendices instead of \appendix.

\documentclass{IEEEtran}

\begin{document}
\section{...}

\appendices
\section{A}
fgh
\section{sss}
afh
\end{document}


This is the result: