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