diff --git a/src/views/splitbutton/SplitButtonDemo.vue b/src/views/splitbutton/SplitButtonDemo.vue index 141bb0e19..ed5aadfc0 100755 --- a/src/views/splitbutton/SplitButtonDemo.vue +++ b/src/views/splitbutton/SplitButtonDemo.vue @@ -57,9 +57,7 @@ export default { }, { label: 'Upload', icon: 'pi pi-upload', - command: () => { - window.location.hash = "/fileupload" - } + to: '/fileupload' } ] } diff --git a/src/views/splitbutton/SplitButtonDoc.vue b/src/views/splitbutton/SplitButtonDoc.vue index e35e7dcbe..252c9e1b5 100755 --- a/src/views/splitbutton/SplitButtonDoc.vue +++ b/src/views/splitbutton/SplitButtonDoc.vue @@ -38,9 +38,7 @@ export default { { label: 'Upload', icon: 'pi pi-upload', - command: () => { - window.location.hash = "/fileupload" - } + to: '/fileupload' } ] } @@ -156,24 +154,24 @@ export default {
- - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + +
NameElement
NameElement
p-splitbuttonContainer element.
p-splitbutton-buttonDropdown button.
p-menuOverlay menu.
p-splitbuttonContainer element.
p-splitbutton-buttonDropdown button.
p-menuOverlay menu.
@@ -231,9 +229,7 @@ export default { { label: 'Upload', icon: 'pi pi-upload', - command: () => { - window.location.hash = "/fileupload" - } + to: '/fileupload' } ] }