From 5ef9399e2bcde750dc969d89a56a3a84b182888e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 12 Apr 2022 10:56:38 +0300 Subject: [PATCH] router fix --- src/views/speeddial/SpeedDialDemo.vue | 2 +- src/views/speeddial/SpeedDialDoc.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/speeddial/SpeedDialDemo.vue b/src/views/speeddial/SpeedDialDemo.vue index b57fa40ec..9d18701c9 100644 --- a/src/views/speeddial/SpeedDialDemo.vue +++ b/src/views/speeddial/SpeedDialDemo.vue @@ -94,7 +94,7 @@ export default { label: 'Upload', icon: 'pi pi-upload', command: () => { - window.location.hash = "/fileupload" + this.$router.push('fileupload'); } }, { diff --git a/src/views/speeddial/SpeedDialDoc.vue b/src/views/speeddial/SpeedDialDoc.vue index aa765942f..4b6229a92 100644 --- a/src/views/speeddial/SpeedDialDoc.vue +++ b/src/views/speeddial/SpeedDialDoc.vue @@ -49,7 +49,7 @@ items: [ label: 'Upload', icon: 'pi pi-upload', command: () => { - window.location.hash = "/fileupload" + this.$router.push('fileupload'); } }, { @@ -384,7 +384,7 @@ export default { label: 'Upload', icon: 'pi pi-upload', command: () => { - window.location.hash = "/fileupload" + this.$router.push('fileupload'); } }, { @@ -592,7 +592,7 @@ export default { label: 'Upload', icon: 'pi pi-upload', command: () => { - window.location.hash = "/fileupload" + this.$router.push('fileupload'); } }, { @@ -804,7 +804,7 @@ export default { label: 'Upload', icon: 'pi pi-upload', command: () => { - window.location.hash = "/fileupload" + this.$router.push('fileupload'); } }, {