wupengfei
6 天以前 a4bb5626dcf18a1893792eeeca75e9139c744ad0
src/components/Form/ProFormPaginationSelect.vue
New file
@@ -0,0 +1,35 @@
<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>