⚡ 去除命令 tooltip.
This commit is contained in:
@@ -20,8 +20,8 @@ const columns = [
|
||||
dataIndex: 'command',
|
||||
slotName: 'command',
|
||||
align: 'left',
|
||||
minWidth: 238,
|
||||
ellipsis: true,
|
||||
minWidth: 238,
|
||||
}, {
|
||||
title: '执行用户',
|
||||
dataIndex: 'username',
|
||||
|
||||
@@ -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 }">
|
||||
|
||||
@@ -31,7 +31,6 @@ const columns = [
|
||||
align: 'left',
|
||||
minWidth: 238,
|
||||
ellipsis: true,
|
||||
tooltip: true,
|
||||
}, {
|
||||
title: '执行用户',
|
||||
dataIndex: 'execUsername',
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user