目录中的附录超链接错误

目录中的附录超链接错误

当我点击目录中的附录时,它会将我引导至参考书目,它应该将我引导至附录。我该如何解决它。

\documentclass[12pt]{report}

\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{float}
\usepackage{xcolor}
\usepackage{hyperref}

%---------------------------------
\hypersetup{
    unicode=true,
    pdftitle={},
    pdfauthor={},
    pdfsubject={},
    pdfcreator={},
    pdfkeywords={},
    pdfnewwindow=true,        
    colorlinks=true,
    linkcolor=blue,
    citecolor=red,
    filecolor=black,
    urlcolor=cyan
}
%---------------------------------

\begin{filecontents}{bibliography.bib}
@article{benner2005synthetic,
  title={Synthetic biology},
  author={Benner, Steven A and Sismour, A Michael},
  journal={Nature reviews genetics},
  volume={6},
  number={7},
  pages={533--543},
  year={2005},
  publisher={Nature Publishing Group UK London}
}
\end{filecontents}

\usepackage{csquotes}
\usepackage[backend=biber]{biblatex}
\addbibresource{bibliography.bib}

\begin{document}

\tableofcontents

\chapter{Introduction}

\cite{benner2005synthetic}

\printbibliography[heading=bibintoc]

\clearpage
\addcontentsline{toc}{chapter}{Appendix}
\refstepcounter{chapter}
\renewcommand\thesection{A.\arabic{section}}
\setcounter{figure}{0}
\renewcommand\thefigure{A.\arabic{figure}}
\appendix
\chapter*{Appendix}

\end{document}

相关内容