1234567891011121314151617181920212223242526272829303132333435 |
- <template>
- <div class="home">
- <router-view :key="route.fullPath" />
- </div>
- </template>
- <script lang="ts">
- import { defineComponent, nextTick, onMounted, reactive, toRefs } from "vue";
- import Header from "@/components/header/Comheader.vue";
- import { useRoute, onBeforeRouteUpdate } from "vue-router";
- import axios from "axios";
- export default defineComponent({
- components: {
- Header,
- },
- setup() {
- const route: any = useRoute();
- const proxyData = reactive({
- route: route
- });
- onMounted(() => {
-
- });
- return {
- ...toRefs(proxyData),
- };
- },
- });
- </script>
- <style lang="scss" scoped>
- .home {
- }
- </style>
|