Showing
1 changed file
with
4 additions
and
5 deletions
| @@ -75,12 +75,12 @@ | @@ -75,12 +75,12 @@ | ||
| 75 | </Tooltip> | 75 | </Tooltip> |
| 76 | </template> | 76 | </template> |
| 77 | <template #deviceProfile="{ record }"> | 77 | <template #deviceProfile="{ record }"> |
| 78 | - <CheckableTag | 78 | + <Tag.CheckableTag |
| 79 | @click="goDeviceProfile(record.deviceProfile.name)" | 79 | @click="goDeviceProfile(record.deviceProfile.name)" |
| 80 | - style="white-space: normal; height: auto" | 80 | + style="white-space: normal; height: auto; cursor: pointer" |
| 81 | > | 81 | > |
| 82 | <span style="color: #377dff">{{ record.deviceProfile.name }}</span> | 82 | <span style="color: #377dff">{{ record.deviceProfile.name }}</span> |
| 83 | - </CheckableTag> | 83 | + </Tag.CheckableTag> |
| 84 | </template> | 84 | </template> |
| 85 | 85 | ||
| 86 | <template #deviceType="{ record }"> | 86 | <template #deviceType="{ record }"> |
| @@ -201,7 +201,7 @@ | @@ -201,7 +201,7 @@ | ||
| 201 | } from '/@/api/device/model/deviceModel'; | 201 | } from '/@/api/device/model/deviceModel'; |
| 202 | import { BasicTable, useTable, TableAction, TableImg } from '/@/components/Table'; | 202 | import { BasicTable, useTable, TableAction, TableImg } from '/@/components/Table'; |
| 203 | import { columns, searchFormSchema } from './config/device.data'; | 203 | import { columns, searchFormSchema } from './config/device.data'; |
| 204 | - import { Tag, Tooltip, Popover, Popconfirm, Button, CheckableTag } from 'ant-design-vue'; | 204 | + import { Tag, Tooltip, Popover, Popconfirm, Button } from 'ant-design-vue'; |
| 205 | import { | 205 | import { |
| 206 | deleteDevice, | 206 | deleteDevice, |
| 207 | devicePage, | 207 | devicePage, |
| @@ -251,7 +251,6 @@ | @@ -251,7 +251,6 @@ | ||
| 251 | Popconfirm, | 251 | Popconfirm, |
| 252 | BatchImportModal, | 252 | BatchImportModal, |
| 253 | Button, | 253 | Button, |
| 254 | - CheckableTag, | ||
| 255 | }, | 254 | }, |
| 256 | setup(_) { | 255 | setup(_) { |
| 257 | const { createMessage } = useMessage(); | 256 | const { createMessage } = useMessage(); |