diff --git a/doc/splitbutton/BasicDoc.vue b/doc/splitbutton/BasicDoc.vue index 5e138e593..b61f88a0b 100644 --- a/doc/splitbutton/BasicDoc.vue +++ b/doc/splitbutton/BasicDoc.vue @@ -96,13 +96,13 @@ const items = [ { label: 'Update', command: () => { - this.$toast.add({ severity: 'success', summary: 'Updated', detail: 'Data Updated', life: 3000 }); + toast.add({ severity: 'success', summary: 'Updated', detail: 'Data Updated', life: 3000 }); } }, { label: 'Delete', command: () => { - this.$toast.add({ severity: 'warn', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); + toast.add({ severity: 'warn', summary: 'Delete', detail: 'Data Deleted', life: 3000 }); } }, {