Browse Source

[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.
3.0.0/version-upgrade
songjianet 3 years ago committed by GitHub
parent
commit
c69d9f8a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts

13
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,13 +82,7 @@ export function useTable() {
key: 'name',
className: 'workflow-name',
...COLUMN_WIDTH_CONFIG['name'],
render: (row) =>
h(
NEllipsis,
{ style: 'max-width: 200px; color: #2080f0' },
{
default: () =>
h(
render: (row) => h(
ButtonLink,
{
onClick: () =>
@ -98,9 +92,6 @@ export function useTable() {
})
},
{ default: () => row.name }
),
tooltip: () => row.name
}
)
},
{

Loading…
Cancel
Save