fix: delete routerView

This commit is contained in:
xiaoxian521 2022-02-23 15:13:36 +08:00
parent dfaa76cc29
commit 3ca4729421
3 changed files with 0 additions and 18 deletions

View File

@ -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";

View File

@ -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>

View File

@ -15,7 +15,6 @@ const nestedRouter = {
children: [
{
path: "/nested/menu1",
component: () => import("/@/layout/routerView/parent.vue"),
name: "Menu1",
meta: {
title: $t("menus.hsmenu1"),
@ -36,7 +35,6 @@ const nestedRouter = {
},
{
path: "/nested/menu1/menu1-2",
component: () => import("/@/layout/routerView/parent.vue"),
name: "Menu1-2",
redirect: "/nested/menu1/menu1-2/menu1-2-1",
meta: {