Browse Source

[fix][UI]Add render to projects-overview table (#13305)

Co-authored-by: Jinwen Lai <lai.jinwen@vpclub.cn>
imizao 2 years ago
parent
commit
1edee6224c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dolphinscheduler-ui/src/views/projects/overview/use-table.ts

+ 1 - 1
dolphinscheduler-ui/src/views/projects/overview/use-table.ts

@@ -22,7 +22,7 @@ export function useTable() {
   const { t } = useI18n()
 
   const columnsRef: TableColumns<any> = [
-    { title: '#', key: 'index' },
+    { title: '#', key: 'index', render: (row, index) => index + 1 },
     { title: t('home.number'), key: 'number' },
     { title: t('home.state'), key: 'state' }
   ]