From d7a4dc1dbc95650f80488890cc049e1137eb264b Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Sat, 2 Apr 2022 17:01:07 +0800 Subject: [PATCH] [Fix][UI Next][V1.0.0-Alpha] Fix the two hover prompts appear. (#9333) * [Fix][UI Next][V1.0.0-Alpha] Fix the two hover prompts appear. * [Fix][UI Next][V1.0.0-Alpha] Fix the two hover prompts appear. --- .../projects/workflow/definition/timing/use-table.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts index 4a253c11f9..97d7932ca4 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts +++ b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts @@ -18,7 +18,7 @@ import { h, ref, reactive } from 'vue' import { useI18n } from 'vue-i18n' import { useRouter } from 'vue-router' -import { NSpace, NTooltip, NButton, NPopconfirm, NEllipsis } from 'naive-ui' +import { NSpace, NTooltip, NButton, NPopconfirm } from 'naive-ui' import { deleteScheduleById, offline, @@ -84,15 +84,7 @@ export function useTable() { { title: t('project.workflow.workflow_name'), key: 'processDefinitionName', - ...COLUMN_WIDTH_CONFIG['name'], - render: (row: any) => - h( - NEllipsis, - { style: 'max-width: 200px' }, - { - default: () => row.processDefinitionName - } - ) + ...COLUMN_WIDTH_CONFIG['name'] }, { title: t('project.workflow.start_time'),