![包含章节的网站上缺少页眉和页脚](https://linux22.com/image/377177/%E5%8C%85%E5%90%AB%E7%AB%A0%E8%8A%82%E7%9A%84%E7%BD%91%E7%AB%99%E4%B8%8A%E7%BC%BA%E5%B0%91%E9%A1%B5%E7%9C%89%E5%92%8C%E9%A1%B5%E8%84%9A.png)
我正在使用 facyhdr,每次创建新章节时,网站就没有页眉或页脚了。有人能帮帮我吗?
\documentclass[11pt,a4paper,abstracton,fleqn]{scrreprt}
\usepackage{fancyhdr}
\renewcommand*\chapterheadstartvskip{\vspace*{-0.3cm}}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
%titelpage
\newpage\thispagestyle{fancy}
{\let\clearpage\relax \chapter{}}
\pagestyle{fancy}