Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
partido-interdimensional-pirata
lumi
la web de miniloom
Commits
992db9e6
Commit
992db9e6
authored
Apr 17, 2020
by
rene
Browse files
arreglar unos problemas de historial en el router
parent
3d3eaf75
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/router.js
View file @
992db9e6
...
...
@@ -61,7 +61,7 @@ const router = new Router({
component
:
Barca
,
meta
:
{
requiresAuth
:
true
,
backCallback
:
(
router
,
route
)
=>
router
.
push
(
`/barcas`
),
backCallback
:
(
)
=>
history
.
back
(
),
},
},
{
...
...
@@ -85,8 +85,7 @@ const router = new Router({
component
:
Consenso
,
meta
:
{
requiresAuth
:
true
,
backCallback
:
(
router
,
route
)
=>
router
.
push
(
`/barcas/
${
route
.
params
.
barcaId
}
`
),
backCallback
:
()
=>
history
.
back
(),
},
},
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment