🔨 执行命令.

This commit is contained in:
lijiahangmax
2024-03-17 21:09:58 +08:00
parent 2abf5bcf08
commit 2819df9c31
22 changed files with 429 additions and 67 deletions

View File

@@ -70,11 +70,9 @@
</template>
<!-- 用户名 -->
<template #username="{ record }">
<a-tooltip content="点击复制">
<span class="pointer span-blue" @click="copy(record.username)">
<icon-copy /> {{ record.username }}
</span>
</a-tooltip>
<span class="span-blue text-copy" @click="copy(record.username)">
{{ record.username }}
</span>
</template>
<!-- 秘钥名称 -->
<template #keyId="{ record }">

View File

@@ -82,11 +82,9 @@
:bordered="false">
<!-- 用户名 -->
<template #username="{ record }">
<a-tooltip content="点击复制">
<span class="pointer span-blue" @click="copy(record.username)">
<icon-copy /> {{ record.username }}
</span>
</a-tooltip>
<span class="span-blue text-copy" @click="copy(record.username)">
{{ record.username }}
</span>
</template>
<!-- 秘钥名称 -->
<template #keyId="{ record }">

View File

@@ -21,15 +21,6 @@ const columns = [
title: '主机秘钥',
dataIndex: 'keyId',
slotName: 'keyId',
}, {
title: '创建时间',
dataIndex: 'createTime',
slotName: 'createTime',
align: 'center',
width: 180,
render: ({ record }) => {
return dateFormat(new Date(record.createTime));
},
}, {
title: '修改时间',
dataIndex: 'updateTime',