zhengyiming
5 天以前 a6921e08035356d4d4e367a8731f729d0520f6b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>