Replies: 2 comments 1 reply
-
点击面包屑暴露外面对应事件不就行了么 。具体如何处理用用户自己决定 |
Beta Was this translation helpful? Give feedback.
1 reply
-
其实在 vue 中有内置的 api 可以解决的 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
介绍
面包屑用于显示当前页面的路径,快速返回之前的任意页面。
组件
Crumbs
面包屑组件内部其实是需要两个组件联合使用f-crumbs
容器组件f-crumbs-item
每一项元素Attributes
f-crumbs
f-crumbs-item
难点
面包屑组件是需要路由跳转的,而用户是不一定安装了
vue-router
,如果使用$router
跳转的话,就会报错,那么你需要考虑如何解决跳转的问题了。设计稿
https://www.figma.com/file/xkjPUkMNbhFAVOu90OhKih/Crumbs-%E9%9D%A2%E5%8C%85%E5%B1%91
Beta Was this translation helpful? Give feedback.
All reactions