New file |
| | |
| | | <template> |
| | | <ProFieldCustom> |
| | | <FieldPaginationSelect |
| | | v-model="modelValue" |
| | | :proTableProps="proTableProps" |
| | | v-bind="{ ...$attrs }" |
| | | :enumLabelKey="enumLabelKey" |
| | | :enumValueKey="enumValueKey" |
| | | /> |
| | | </ProFieldCustom> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { ProFieldCustom } from '@bole-core/components'; |
| | | import FieldPaginationSelect from './FieldPaginationSelect.vue'; |
| | | |
| | | defineOptions({ |
| | | name: 'ProFormPaginationSelect', |
| | | }); |
| | | |
| | | type Props = { |
| | | proTableProps: any; |
| | | enumLabelKey?: string; |
| | | enumValueKey?: string; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), {}); |
| | | console.log('props: ', props); |
| | | |
| | | const modelValue = defineModel<string>(); |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @use '@/style/common.scss' as *; |
| | | </style> |