Commit 6a85fbe2d18240c86c6d329f6d6c512c88630fbd

Authored by fengwotao
1 parent 54bfbd69

pref:TCP 调整脚本位置,鉴权脚本在上

@@ -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();