doc(splitbutton): fix composition API composable use
parent
7fbe02c697
commit
4fa7151e34
doc/splitbutton
|
@ -96,13 +96,13 @@ const items = [
|
||||||
{
|
{
|
||||||
label: 'Update',
|
label: 'Update',
|
||||||
command: () => {
|
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',
|
label: 'Delete',
|
||||||
command: () => {
|
command: () => {
|
||||||
this.$toast.add({ severity: 'warn', summary: 'Delete', detail: 'Data Deleted', life: 3000 });
|
toast.add({ severity: 'warn', summary: 'Delete', detail: 'Data Deleted', life: 3000 });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue