Browse Source

fix: delete routerView

i18n
xiaoxian521 3 years ago
parent
commit
138e0fd2e4
  1. 1
      src/layout/components/appMain.vue
  2. 15
      src/layout/routerView/parent.vue

1
src/layout/components/appMain.vue

@ -7,7 +7,6 @@ import {
defineComponent,
getCurrentInstance
} from "vue";
import { RouterView } from "vue-router";
import backTop from "/@/assets/svg/back_top.svg?component";
import { usePermissionStoreHook } from "/@/store/modules/permission";

15
src/layout/routerView/parent.vue

@ -1,15 +0,0 @@
<template>
<router-view>
<template #default="{ Component, route }">
<transition appear name="fade-transform" mode="out-in">
<component :is="Component" :key="route.fullPath" />
</transition>
</template>
</router-view>
</template>
<script lang="ts">
export default {
name: "layoutParentView"
};
</script>
Loading…
Cancel
Save