2024-09-18 09:58:59 +00:00
|
|
|
<template>
|
|
|
|
<DocPTViewer :docs="docs">
|
2024-09-20 12:22:44 +00:00
|
|
|
<SplitButton label="Save" icon="pi pi-check" dropdownIcon="pi pi-cog" :model="items" />
|
2024-09-18 09:58:59 +00:00
|
|
|
</DocPTViewer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { getPTOptions } from '@/components/doc/helpers';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Update'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Delete'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Vue Website'
|
|
|
|
},
|
|
|
|
{ label: 'Upload', to: '/fileupload' }
|
|
|
|
],
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
data: getPTOptions('SplitButton'),
|
|
|
|
key: 'SplitButton'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|