Skip to content

为什么配置面包屑之后,点击面包屑跳转layout内容区会闪一下 #13164

@Yuer-boop

Description

@Yuer-boop

配置如下/**

Image
  • 单独非菜单路由: layout: false,
    */
    export const routes = [
    {
    path: '/',
    redirect: '/home'
    },
    {
    name: '首页',
    path: '/home',
    component: './home'
    // 为每个路由添加页面标题配置
    },
    {
    name: '权限演示',
    path: '/access',
    component: './access'
    },
    {
    name: 'CRUD 示例',
    path: '/curd',
    routes: [
    {
    path: '/curd',
    redirect: '/curd/table'
    },
    {
    name: 'Table',
    path: '/curd/table',
    component: './table'
    }
    ]
    }
    ];
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions