Sfoglia il codice sorgente

[Improvement-13084][UI] Make download log button disabled when host is null (#13090)

Co-authored-by: xiaojingxuan <13700324600@163.com>
xla0 2 anni fa
parent
commit
58d21abfa1

+ 1 - 0
dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts

@@ -270,6 +270,7 @@ export function useTable() {
                         circle: true,
                         type: 'info',
                         size: 'small',
+                        disabled: !row.host,
                         onClick: () => downloadLog(row.id)
                       },
                       {