Unverified Commit 9f195434 authored by Mostafa's avatar Mostafa Committed by GitHub

fix: add missing decodeURIComponent while page load (#4244)

parent 7e997aad
...@@ -564,11 +564,11 @@ export default { ...@@ -564,11 +564,11 @@ export default {
if (window.location.hash && window.location.hash.length > 1) { if (window.location.hash && window.location.hash.length > 1) {
if (document.readyState === 'complete') { if (document.readyState === 'complete') {
this.$nextTick(() => { this.$nextTick(() => {
this.$vuetify.goTo(window.location.hash, this.scrollOpts) this.$vuetify.goTo(decodeURIComponent(window.location.hash), this.scrollOpts)
}) })
} else { } else {
window.addEventListener('load', () => { window.addEventListener('load', () => {
this.$vuetify.goTo(window.location.hash, this.scrollOpts) this.$vuetify.goTo(decodeURIComponent(window.location.hash), this.scrollOpts)
}) })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment