From 1edee6224c2bc4bf5a1be175e440015a873aa576 Mon Sep 17 00:00:00 2001 From: imizao <2313466338@qq.com> Date: Sat, 7 Jan 2023 22:56:54 +0800 Subject: [PATCH] [fix][UI]Add render to projects-overview table (#13305) Co-authored-by: Jinwen Lai --- dolphinscheduler-ui/src/views/projects/overview/use-table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/views/projects/overview/use-table.ts b/dolphinscheduler-ui/src/views/projects/overview/use-table.ts index 1c16f4aab3..da4fb577a0 100644 --- a/dolphinscheduler-ui/src/views/projects/overview/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/overview/use-table.ts @@ -22,7 +22,7 @@ export function useTable() { const { t } = useI18n() const columnsRef: TableColumns = [ - { title: '#', key: 'index' }, + { title: '#', key: 'index', render: (row, index) => index + 1 }, { title: t('home.number'), key: 'number' }, { title: t('home.state'), key: 'state' } ]