Commit 862d70c0da7cc822518bf9d73b7c4f03a7eb51cc

Authored by fengtao
2 parents 1e4aa4ca 8b7169fc

Merge branch 'main' into local_dev_ft

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