feat: обновил типы в компонентах
Frontend CI / build-and-check (push) Failing after 19s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 5s
🚀 Create and publish a Docker image / Build & publish backend image (push) Successful in 8s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Successful in 16s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Successful in 3s
Frontend CI / build-and-check (push) Failing after 19s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 5s
🚀 Create and publish a Docker image / Build & publish backend image (push) Successful in 8s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Successful in 16s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Successful in 3s
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
type Column = { key: string; label: string; align?: 'left' | 'center' | 'right' }
|
||||
type DataTableSlotRow = Record<string, unknown>
|
||||
type DataTableSlotRow = Record<string, any>
|
||||
|
||||
defineProps<{
|
||||
columns: Column[]
|
||||
rows: DataTableSlotRow[]
|
||||
}>()
|
||||
|
||||
defineSlots<Record<string, (props: { row: DataTableSlotRow; value: unknown }) => unknown>>()
|
||||
defineSlots<Record<string, (props: { row: DataTableSlotRow; value: any }) => unknown>>()
|
||||
|
||||
function getCell(row: DataTableSlotRow, key: string): unknown {
|
||||
function getCell(row: DataTableSlotRow, key: string): any {
|
||||
return row[key]
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user