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: loop refresh when pathname is /- #780

Merged
merged 6 commits into from Jul 29, 2021
Merged

Conversation

daskyrk
Copy link
Contributor

@daskyrk daskyrk commented Jul 29, 2021

What this PR does / why we need it:

replace \-\ will not work if pathname is \-, which will cause the loop refresh.

Does this PR introduce a user interface change?

❎ No

ChangeLog

Language Changelog
🇺🇸 English fix loop refresh when pathname is /-
🇨🇳 中文 修复路径为/-时循环刷新问题

Which versions should be patched?

/cherry-pick release/1.1

@daskyrk daskyrk added the bugfix Used in pr label Jul 29, 2021
@McDaddy McDaddy merged commit 6711436 into erda-project:master Jul 29, 2021
@McDaddy
Copy link
Contributor

McDaddy commented Jul 29, 2021

/cherry-pick release/1.1

erda-bot pushed a commit to erda-bot/erda-ui that referenced this pull request Jul 29, 2021
* docs: update README

* docs: fix format

* fix: auto format content by prettier

* chore: add changeLog section in pr template

* chore: remove duplicate pr template section

* fix: circular jump when location is /-
daskyrk added a commit that referenced this pull request Jul 29, 2021
* docs: update README

* docs: fix format

* fix: auto format content by prettier

* chore: add changeLog section in pr template

* chore: remove duplicate pr template section

* fix: circular jump when location is /-

Co-authored-by: 随风 <daskyrk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Used in pr
Development

Successfully merging this pull request may close these issues.

None yet

2 participants