fix 修复 页面警告

This commit is contained in:
ahao 2023-12-27 14:28:04 +08:00
parent 3922c16601
commit abf2777b2e

View File

@ -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,