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

标签页在刷新之后会丢失 #3863

Closed
cMing1997 opened this issue May 22, 2024 · 1 comment
Closed

标签页在刷新之后会丢失 #3863

cMing1997 opened this issue May 22, 2024 · 1 comment

Comments

@cMing1997
Copy link

⚠️ 重要 ⚠️ 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭

  • [*] 已阅读 文档.
  • [*] 确保您的代码已是最新或者所报告的 Bug 在最新版本中可以重现. (部分 Bug 可能已经在最近的代码中修复)
  • [*] 已在 Issues 中搜索了相关的关键词
  • [*] 不是 ant design vue 组件库的 Bug

描述 Bug

配置了一个路由 类似于:

{
    path: 'template',
    name: 'ReportTemplate',
    component: () => import('@/views/reportMgr/template/index.vue'),
    meta: {
        title: '模板设置',
        icon: 'tabler:template',
        hideChildrenInMenu: true,
    },
    children: [
        {
            path: 'modifyTemp',
            name: 'ReportModifyTemp',
            component: () => import('@/views/reportMgr/modifyTemp/index.vue'),
            meta: {
                title: '新增模板',
                icon: 'eos-icons:templates-outlined',
                // currentActiveMenu: '/report/template',
            },
        },
    ],
},

然后是从 template -> modifyTemp 跳转,但是modifyTemp 不想出现在菜单中,所以就对 template 配置了 hideChildrenInMenu,虽然刷新之后,菜单还在,但是 标签页上,之前打开的 template 页面的标签不在了。

GIF 2024-5-22 11-25-16

复现 Bug

系统信息

  • 操作系统: win11
  • Node 版本: 21+
  • pnpm 版本: 8+
@anncwb
Copy link
Collaborator

anncwb commented Jul 22, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@anncwb anncwb added the Stale label Jul 22, 2024
@anncwb anncwb closed this as completed Jul 29, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants