Add record access strategy
This commit is contained in:
@@ -21,12 +21,14 @@ interface Props {
|
||||
data?: any[]
|
||||
loading?: boolean
|
||||
selectable?: boolean
|
||||
baseUrl?: string
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
data: () => [],
|
||||
loading: false,
|
||||
selectable: false,
|
||||
baseUrl: '/runtime/objects',
|
||||
})
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -205,7 +207,9 @@ const handleAction = (actionId: string) => {
|
||||
<FieldRenderer
|
||||
:field="field"
|
||||
:model-value="row[field.apiName]"
|
||||
:record-data="row"
|
||||
:mode="ViewMode.LIST"
|
||||
:base-url="baseUrl"
|
||||
/>
|
||||
</TableCell>
|
||||
<TableCell @click.stop>
|
||||
|
||||
Reference in New Issue
Block a user