fix: tasks label 列文字支持自动换行 (#6452)

This commit is contained in:
meerkat 2023-03-23 20:38:38 +08:00 committed by GitHub
parent c333aa8d43
commit 8314ba4909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

View File

@ -40,7 +40,11 @@ exports[`Renderer:tesks 1`] = `
<tbody>
<tr>
<td>
<span
class="word-break"
>
hive 任务
</span>
</td>
<td>
<a
@ -75,7 +79,11 @@ exports[`Renderer:tesks 1`] = `
</tr>
<tr>
<td>
<span
class="word-break"
>
小流量
</span>
</td>
<td>
<a
@ -95,7 +103,11 @@ exports[`Renderer:tesks 1`] = `
</tr>
<tr>
<td>
<span
class="word-break"
>
全量
</span>
</td>
<td>
<a

View File

@ -396,7 +396,9 @@ export default class Task extends React.Component<TaskProps, TaskState> {
) : (
items.map((item, key) => (
<tr key={key}>
<td>{item.label}</td>
<td>
<span className={cx('word-break')}>{item.label}</span>
</td>
<td>
{item.status == loadingStatusCode ? (
<Spinner