This is an automated email from the ASF dual-hosted git repository.
huajiang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new c69d9f8 [Fix][UI Next][V1.0.0-Alpha] Fix there are multiple hover
prompts. (#9116)
c69d9f8 is described below
commit c69d9f8a7b56457b6127ff84f1ffcce6a029b14e
Author: songjianet <[email protected]>
AuthorDate: Wed Mar 23 16:00:27 2022 +0800
[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.
---
.../projects/workflow/definition/use-table.ts | 33 ++++++++--------------
1 file changed, 12 insertions(+), 21 deletions(-)
diff --git
a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts
b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts
index 9672505..4379a37 100644
---
a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts
+++
b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts
@@ -32,7 +32,7 @@ import {
} from '@/service/modules/process-definition'
import TableAction from './components/table-action'
import styles from './index.module.scss'
-import { NEllipsis, NTag } from 'naive-ui'
+import { NTag } from 'naive-ui'
import ButtonLink from '@/components/button-link'
import {
COLUMN_WIDTH_CONFIG,
@@ -82,26 +82,17 @@ export function useTable() {
key: 'name',
className: 'workflow-name',
...COLUMN_WIDTH_CONFIG['name'],
- render: (row) =>
- h(
- NEllipsis,
- { style: 'max-width: 200px; color: #2080f0' },
- {
- default: () =>
- h(
- ButtonLink,
- {
- onClick: () =>
- void router.push({
- name: 'workflow-definition-detail',
- params: { code: row.code }
- })
- },
- { default: () => row.name }
- ),
- tooltip: () => row.name
- }
- )
+ render: (row) => h(
+ ButtonLink,
+ {
+ onClick: () =>
+ void router.push({
+ name: 'workflow-definition-detail',
+ params: { code: row.code }
+ })
+ },
+ { default: () => row.name }
+ )
},
{
title: t('project.workflow.status'),