npm i @vueuse/core 下载包 <script> import AppHeaderNav from './app-header-nav' import { useWindowScroll } from '@vueuse/core' export default { name: 'AppHeaderSticky', components: { AppHeaderNav