Commit 4e2e066a3b0de75525bb9de94520362703adb277

Authored by ww
1 parent 747c2cf7

fix: throw error on build

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>
... ...