Browse Source

[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.
songjianet 3 years ago
parent
commit
d7a4dc1dbc

+ 2 - 10
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'),