Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | 1 | <script lang="ts" setup> |
| 2 | - import { RadioButton, RadioGroup, Tooltip } from 'ant-design-vue'; | |
| 2 | + import { Radio, RadioGroup, Tooltip } from 'ant-design-vue'; | |
| 3 | 3 | import { TABLE_CARD_MODE_LIST } from './const'; |
| 4 | 4 | import { ModeList } from './types'; |
| 5 | 5 | import Icon from '../Icon'; |
| ... | ... | @@ -25,9 +25,9 @@ |
| 25 | 25 | <RadioGroup :value="props.value" button-style="solid" @change="handleChange"> |
| 26 | 26 | <template v-for="item in $props.mode" :key="item.value"> |
| 27 | 27 | <Tooltip :title="item.label"> |
| 28 | - <RadioButton class="cursor-pointer" :value="item.value"> | |
| 28 | + <Radio.Button class="cursor-pointer" :value="item.value"> | |
| 29 | 29 | <Icon :icon="item.icon" /> |
| 30 | - </RadioButton> | |
| 30 | + </Radio.Button> | |
| 31 | 31 | </Tooltip> |
| 32 | 32 | </template> |
| 33 | 33 | </RadioGroup> | ... | ... |