mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Fix regression on query changes
This commit is contained in:
parent
c00d468357
commit
61ac979cba
@ -39,7 +39,9 @@ function loadAsyncComponents (to, from, next) {
|
||||
}
|
||||
return Component
|
||||
})
|
||||
this._hashChanged = (from.path === to.path)
|
||||
const fromPath = from.fullPath.split('#')[0]
|
||||
const toPath = to.fullPath.split('#')[0]
|
||||
this._hashChanged = (fromPath === toPath)
|
||||
if (!this._hashChanged) {
|
||||
<%= (loading ? 'this.$loading.start && this.$loading.start()' : '') %>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user