Skip to content

带面包屑页头。在页头(PageHeader)中加入 面包屑导航(breadcrumb)定义routes[].path时默认为hash模式,如何设为historyMode?  #3613

@geeklibin

Description

@geeklibin
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

可直接使用带面包屑页头,使用historyMode路由

What does the proposed API look like?

import { createWebHistory } from 'vue-router'
<a-page-header  :breadcrumb="{ history: createWebHistory(process.env.BASE_URL),routes:[...] }"/>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions