|
|
|
@ -29,11 +29,13 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
|
|
|
import { propTypes } from '@/utils/propTypes';
|
|
|
|
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
interface Props {
|
|
|
|
options: Array<DictDataOption>;
|
|
|
|
options: Array<DictDataOption>;
|
|
|
|
value: number | string | Array<number | string>;
|
|
|
|
value: number | string | Array<number | string>;
|
|
|
|
showValue: boolean;
|
|
|
|
showValue?: boolean;
|
|
|
|
separator: string;
|
|
|
|
separator?: string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const props = withDefaults(defineProps<Props>(), {
|
|
|
|
const props = withDefaults(defineProps<Props>(), {
|
|
|
|
showValue: true,
|
|
|
|
showValue: true,
|
|
|
|
|