Use programmatic navigation
parent
e6f20f0e2c
commit
5cad8a0fad
|
@ -52,7 +52,7 @@ export default {
|
|||
{ label: 'Upload',
|
||||
icon: 'pi pi-upload',
|
||||
command: () => {
|
||||
window.location.hash = "/fileupload"
|
||||
this.$router.push('fileupload');
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -103,7 +103,7 @@ export default {
|
|||
{ label: 'Upload',
|
||||
icon: 'pi pi-upload',
|
||||
command: () => {
|
||||
window.location.hash = "/fileupload"
|
||||
this.$router.push('fileupload');
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue