Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧐[问题 | question]开启umi的keepalive多tab后,路由里redirect出错的问题 #11328

Open
gaoobin opened this issue Aug 31, 2024 · 0 comments

Comments

@gaoobin
Copy link

gaoobin commented Aug 31, 2024

开启umi的keepalive多tab后,路由里redirect出错的问题

💻 路由配置

  {
    path: '/cms',
    name: '内容发布',
    routes: [
      {
        path: '/cms',
        redirect: '/cms/article',
      },
      {
        name: '文章',
        path: '/cms/article',
        component: './admin/cms/Article',
      },
  }

🚑 如图:本来是要跳转到文章的,结果额外打开了cms.menu标签页,而且tabs的UI在不断重复渲染

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant