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>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
hive 任务
|
<span
|
||||||
|
class="word-break"
|
||||||
|
>
|
||||||
|
hive 任务
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a
|
<a
|
||||||
@ -75,7 +79,11 @@ exports[`Renderer:tesks 1`] = `
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
小流量
|
<span
|
||||||
|
class="word-break"
|
||||||
|
>
|
||||||
|
小流量
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a
|
<a
|
||||||
@ -95,7 +103,11 @@ exports[`Renderer:tesks 1`] = `
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
全量
|
<span
|
||||||
|
class="word-break"
|
||||||
|
>
|
||||||
|
全量
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a
|
<a
|
||||||
|
@ -396,7 +396,9 @@ export default class Task extends React.Component<TaskProps, TaskState> {
|
|||||||
) : (
|
) : (
|
||||||
items.map((item, key) => (
|
items.map((item, key) => (
|
||||||
<tr key={key}>
|
<tr key={key}>
|
||||||
<td>{item.label}</td>
|
<td>
|
||||||
|
<span className={cx('word-break')}>{item.label}</span>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{item.status == loadingStatusCode ? (
|
{item.status == loadingStatusCode ? (
|
||||||
<Spinner
|
<Spinner
|
||||||
|
Loading…
Reference in New Issue
Block a user