| | |
| | | :key="item.value + ''" |
| | | :disable-transitions="true" |
| | | :index="index" |
| | | :type="item.elTagType === 'primary' || item.elTagType === 'default' ? '' : item.elTagType" |
| | | :type=" |
| | | item.elTagType === 'primary' || |
| | | item.elTagType === 'success' || |
| | | item.elTagType === 'info' || |
| | | item.elTagType === 'warning' || |
| | | item.elTagType === 'danger' |
| | | ? item.elTagType |
| | | : 'primary' |
| | | " |
| | | :class="item.elTagClass" |
| | | > |
| | | {{ item.label + ' ' }} |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { propTypes } from '@/utils/propTypes'; |
| | | |
| | | interface Props { |
| | | options: Array<DictDataOption>; |
| | | value: number | string | Array<number | string>; |