From 8314ba4909e3dd0b22881051d3d3b4c873e182b7 Mon Sep 17 00:00:00 2001 From: meerkat Date: Thu, 23 Mar 2023 20:38:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tasks=20label=20=E5=88=97=E6=96=87?= =?UTF-8?q?=E5=AD=97=E6=94=AF=E6=8C=81=E8=87=AA=E5=8A=A8=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=20(#6452)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__snapshots__/Tasks.test.tsx.snap | 18 +++++++++++++++--- packages/amis/src/renderers/Tasks.tsx | 4 +++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/packages/amis/__tests__/renderers/__snapshots__/Tasks.test.tsx.snap b/packages/amis/__tests__/renderers/__snapshots__/Tasks.test.tsx.snap index 1d73c7462..50facd0f5 100644 --- a/packages/amis/__tests__/renderers/__snapshots__/Tasks.test.tsx.snap +++ b/packages/amis/__tests__/renderers/__snapshots__/Tasks.test.tsx.snap @@ -40,7 +40,11 @@ exports[`Renderer:tesks 1`] = ` - hive 任务 + + hive 任务 + - 小流量 + + 小流量 + - 全量 + + 全量 + { ) : ( items.map((item, key) => ( - {item.label} + + {item.label} + {item.status == loadingStatusCode ? (