优化local_ai_node_toolbar.vue
This commit is contained in:
parent
d0e969a5af
commit
04c9445d88
@ -113,6 +113,10 @@ interface Props {
|
||||
canEdit: boolean
|
||||
loading: boolean
|
||||
sidebarPosition?: 'left' | 'right'
|
||||
// Inherited from detail page toolbar pattern
|
||||
context?: any
|
||||
'is-submittable'?: boolean
|
||||
'page-status'?: number
|
||||
}
|
||||
|
||||
interface Emits {
|
||||
@ -121,11 +125,17 @@ interface Emits {
|
||||
(e: 'delete'): void
|
||||
(e: 'go-back'): void
|
||||
(e: 'save'): void
|
||||
// Inherited events from detail page toolbar pattern
|
||||
(e: 'submit'): void
|
||||
(e: 'cancelDoc'): void
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
sidebarPosition: 'left',
|
||||
record: () => ({})
|
||||
record: () => ({}),
|
||||
context: undefined,
|
||||
'is-submittable': true,
|
||||
'page-status': undefined
|
||||
})
|
||||
|
||||
const emit = defineEmits<Emits>()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user