refactor: dict 抽离

This commit is contained in:
xingyu4j
2025-09-04 20:42:56 +08:00
parent 48ec3e15ab
commit b79bebab18
55 changed files with 142 additions and 86 deletions

View File

@@ -4,6 +4,8 @@ import type { DictSelectProps } from '../typing';
import { computed, useAttrs } from 'vue';
import { getDictOptions } from '@vben/hooks';
import {
Checkbox,
CheckboxGroup,
@@ -13,8 +15,6 @@ import {
SelectOption,
} from 'ant-design-vue';
import { getDictOptions } from '#/utils';
defineOptions({ name: 'DictSelect' });
const props = withDefaults(defineProps<DictSelectProps>(), {