Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Development Lib
>
Authority Management
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
416
Star
2.9K
Fork
4.2K
lengleng
/
pig-ui
Code
Pull Requests
7
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
78
修复跳转首页及由首页跳转其他页时面包屑组件异常的问题
Merged
ZhangJinQi:master
lengleng:dev
ZhangJinQi
create on 2024-05-01 09:55
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
修复跳转首页及由首页跳转其他页时面包屑组件异常的问题 1. 当从**首页以外的页面跳转到首页**时,面包屑会显示出三个重复的首页字样:  刷新后则正常显示:  2. 当**从首页跳转其他页**时,面包屑组件只会展示最后一级:  刷新后则正常显示:  原因: 在做首页判断的时候,route 获取的是**跳转前**的路由对象,而不是跳转目标的路由对象。所以在首页向其他页跳转时,route 是首页的路由对象,此处 if 判断为 true,breadcrumbList 只保留了最后一个元素,导致跳转后的面包屑只有一级导航。将 if 中的 route 替换为跳转的目标路由对象即可。 
How to merge Pull Request
git checkout dev
git pull https://gitee.com/nwu23787/pig-ui_1.git master
git push origin dev
Comments
0
Commits
1
Files
1
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
FelixSuXP
FelixSuXP
lisb
lisb
j3east
j3east
lht
LauCollapsar
lengleng
log4j
李寻欢
best_lxh
smallwei
smallweigit
lbw
gi2
aeizzz
aeizzz
No Setting
Min number
0
Tester
FelixSuXP
FelixSuXP
lisb
lisb
j3east
j3east
lht
LauCollapsar
lengleng
log4j
李寻欢
best_lxh
smallwei
smallweigit
lbw
gi2
aeizzz
aeizzz
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
Label settings
No Setting
Link Issue
No link issue
Successfully merged pull requests will close issues
Milestone
No related milestones
Participators
(1)
JavaScript
1
https://gitee.com/log4j/pig-ui.git
git@gitee.com:log4j/pig-ui.git
log4j
pig-ui
pig-ui
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register