mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-05 05:38:30 +08:00
[Fix][UI Next][V1.0.0-Alpha] Fix there are multiple hover prompts. (#9116)
* [Fix][UI Next][V1.0.0-Alpha] Fix there are multiple hover prompts.
This commit is contained in:
parent
aae328e3a1
commit
c69d9f8a7b
@ -32,7 +32,7 @@ import {
|
|||||||
} from '@/service/modules/process-definition'
|
} from '@/service/modules/process-definition'
|
||||||
import TableAction from './components/table-action'
|
import TableAction from './components/table-action'
|
||||||
import styles from './index.module.scss'
|
import styles from './index.module.scss'
|
||||||
import { NEllipsis, NTag } from 'naive-ui'
|
import { NTag } from 'naive-ui'
|
||||||
import ButtonLink from '@/components/button-link'
|
import ButtonLink from '@/components/button-link'
|
||||||
import {
|
import {
|
||||||
COLUMN_WIDTH_CONFIG,
|
COLUMN_WIDTH_CONFIG,
|
||||||
@ -82,26 +82,17 @@ export function useTable() {
|
|||||||
key: 'name',
|
key: 'name',
|
||||||
className: 'workflow-name',
|
className: 'workflow-name',
|
||||||
...COLUMN_WIDTH_CONFIG['name'],
|
...COLUMN_WIDTH_CONFIG['name'],
|
||||||
render: (row) =>
|
render: (row) => h(
|
||||||
h(
|
ButtonLink,
|
||||||
NEllipsis,
|
{
|
||||||
{ style: 'max-width: 200px; color: #2080f0' },
|
onClick: () =>
|
||||||
{
|
void router.push({
|
||||||
default: () =>
|
name: 'workflow-definition-detail',
|
||||||
h(
|
params: { code: row.code }
|
||||||
ButtonLink,
|
})
|
||||||
{
|
},
|
||||||
onClick: () =>
|
{ default: () => row.name }
|
||||||
void router.push({
|
)
|
||||||
name: 'workflow-definition-detail',
|
|
||||||
params: { code: row.code }
|
|
||||||
})
|
|
||||||
},
|
|
||||||
{ default: () => row.name }
|
|
||||||
),
|
|
||||||
tooltip: () => row.name
|
|
||||||
}
|
|
||||||
)
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('project.workflow.status'),
|
title: t('project.workflow.status'),
|
||||||
|
Loading…
Reference in New Issue
Block a user