|
@@ -6,9 +6,9 @@
|
|
>授权</a-button
|
|
>授权</a-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
- <template #copy="{ record }">
|
|
|
|
- <a @click="handleCopy(record.authorizeKey)">
|
|
|
|
- {{ record.authorizeKey }}
|
|
|
|
|
|
+ <template #copy="{ text }">
|
|
|
|
+ <a @click="handleCopy(text)">
|
|
|
|
+ {{ text }}
|
|
</a>
|
|
</a>
|
|
</template>
|
|
</template>
|
|
<template #action="{ record }">
|
|
<template #action="{ record }">
|
|
@@ -109,12 +109,14 @@
|
|
{
|
|
{
|
|
title: '设备UUID',
|
|
title: '设备UUID',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
|
+ slots: { customRender: 'copy' },
|
|
dataIndex: 'machineUuid',
|
|
dataIndex: 'machineUuid',
|
|
width: 120,
|
|
width: 120,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '设备名称',
|
|
title: '设备名称',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
|
+ slots: { customRender: 'copy' },
|
|
dataIndex: 'machineName',
|
|
dataIndex: 'machineName',
|
|
width: 120,
|
|
width: 120,
|
|
},
|
|
},
|