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

fix: query 没有加到 path 中 #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

OuZuYu
Copy link
Contributor

@OuZuYu OuZuYu commented Nov 4, 2019

WHY

面包屑数据的 path 是没有保存 query 的,如果跳转时带有 query,那么 url 与 面包屑数据的 path 会不相符,导致当前页面的面包屑可以点击,而点击后会跳到面包屑数据的 path,导致 query 丢失

HOW

跳转页面前把 query 存到最后一级面包屑的 path 里

template/route.js Outdated Show resolved Hide resolved
@OuZuYu OuZuYu changed the title fix: query 没有存到 path 中 fix: query 没有加到 path 中 Nov 5, 2019
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

Successfully merging this pull request may close these issues.

1 participant