修改表格显示字段.

This commit is contained in:
lijiahang
2024-08-21 12:56:07 +08:00
parent 059fb30aa4
commit aa9b96a9c1
6 changed files with 51 additions and 14 deletions

View File

@@ -83,15 +83,21 @@
<template #keyName="{record}">
{{ record.keyName }}<span style="margin: 0 4px;">-</span>{{ record.keyDescription }}
</template>
<!-- 值 -->
<!-- 配置值 -->
<template #value="{ record }">
<span class="copy-left" title="复制" @click="copy(record.value)">
<icon-copy />
</span>
<a-tooltip position="tl" :content="record.value">
<span>{{ record.value }}</span>
<a-tooltip position="tl"
:content="record.value"
@click="copy(record.value, true)">
<span class="text-copy">{{ record.value }}</span>
</a-tooltip>
</template>
<!-- 额外参数 -->
<template #extra="{ record }">
<span class="text-copy"
@click="copy(record.extra, true)">
{{ record.extra }}
</span>
</template>
<!-- 操作 -->
<template #handle="{ record }">
<div class="table-handle-wrapper">