去除命令 tooltip.

This commit is contained in:
lijiahang
2024-12-13 16:38:58 +08:00
parent dd973a46fc
commit 885446dc58
7 changed files with 10 additions and 7 deletions

View File

@@ -20,8 +20,8 @@ const columns = [
dataIndex: 'command',
slotName: 'command',
align: 'left',
minWidth: 238,
ellipsis: true,
minWidth: 238,
}, {
title: '执行用户',
dataIndex: 'username',

View File

@@ -106,7 +106,7 @@
@click="copy(record.command, true)">
<icon-copy />
</span>
<span>{{ record.command }}</span>
<span :title="record.command">{{ record.command }}</span>
</template>
<!-- 任务状态 -->
<template #status="{ record }">

View File

@@ -31,7 +31,6 @@ const columns = [
align: 'left',
minWidth: 238,
ellipsis: true,
tooltip: true,
}, {
title: '执行用户',
dataIndex: 'execUsername',

View File

@@ -81,7 +81,9 @@
@page-size-change="(size: number) => fetchTableData(1, size)">
<!-- 模板命令 -->
<template #command="{ record }">
<span class="copy-left" @click="copy(record.command, true)">
<span class="copy-left"
title="复制"
@click="copy(record.command, true)">
<icon-copy />
</span>
<span :title="record.command">{{ record.command }}</span>