/
githubmirror
/
halo
Обзор
Документация
Войти
/
githubmirror
/
halo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ui/src/components/entity-fields/EntityFieldItems.vue
23 строки
464 B
Ryan Wang
Rename `@halo-dev/console-shared` to `@halo-dev/ui-shared` (#7926)
10 ноя 2025, 19:20
Не верифицирован
10 ноя 2025, 19:20
ac88ee7
Код
Авторство
О чём код?
<script lang="ts" setup> import { utils, type EntityFieldItem } from "@halo-dev/ui-shared"; withDefaults( defineProps<{ fields: EntityFieldItem[]; }>(), {} ); </script> <template> <template v-for="(field, index) in fields" :key="`${field.position}-${index}`" > <component :is="field.component" v-bind="field.props" v-if="!field.hidden && utils.permission.has(field.permissions || [])" /> </template> </template>