routes
This commit is contained in:
parent
27f49fc8e8
commit
832e0f75bf
2 changed files with 3 additions and 3 deletions
|
@ -553,7 +553,7 @@ const app = new Vue({
|
|||
// if the route contains does not include a / then route to the page directly
|
||||
if (route.indexOf("/") == -1) {
|
||||
this.page = route
|
||||
window.location.hash = `${page}/${id}`
|
||||
window.location.hash = this.page
|
||||
return
|
||||
}
|
||||
let hash = route.split("/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue