mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: tasks label 列文字支持自动换行 (#6452)
This commit is contained in:
parent
c333aa8d43
commit
8314ba4909
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user