未验证 提交 1f9660b8 编写于 作者: A Amy0104 提交者: GitHub

[Fix][UI][V1.0.0-Beta] Set the default value of host to '-' and Disable log...

[Fix][UI][V1.0.0-Beta] Set the default value of host to '-' and Disable log button without host data. (#9742)
上级 15eb1618
......@@ -155,7 +155,8 @@ export function useTable() {
{
title: t('project.task.host'),
key: 'host',
...COLUMN_WIDTH_CONFIG['name']
...COLUMN_WIDTH_CONFIG['name'],
render: (row: IRecord) => row.host || '-'
},
{
title: t('project.task.operation'),
......@@ -206,6 +207,7 @@ export function useTable() {
circle: true,
type: 'info',
size: 'small',
disabled: !row.host,
onClick: () => handleLog(row)
},
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册