尾部导航
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<div class="index">
|
||||
<WebsiteHeader></WebsiteHeader>
|
||||
<div class="content">
|
||||
<router-view />
|
||||
<router-view :key="route.fullPath" />
|
||||
</div>
|
||||
<el-backtop />
|
||||
</div>
|
||||
@ -10,6 +10,8 @@
|
||||
|
||||
<script setup name="WebsiteLayout">
|
||||
import WebsiteHeader from "@/components/WebsiteHeader";
|
||||
import { useRoute } from "vue-router";
|
||||
const route = useRoute();
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
Reference in New Issue
Block a user