Commit 8b7169fcac7d9f2de6bf61ae19fa5a5c5ce08af5

Authored by xp.Huang
2 parents 747c2cf7 4e2e066a

Merge branch 'dev-ww' into 'main'

fix: throw error on build

See merge request huang/yun-teng-iot-front!447
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>
... ...