This commit is contained in:
parent
e0c8f984e9
commit
7631674daf
|
|
@ -33,21 +33,18 @@ def task_history_item(
|
|||
rx.text(
|
||||
item.description,
|
||||
flex=1,
|
||||
height="22px",
|
||||
line_height="22px",
|
||||
line_height="20px",
|
||||
padding_right="18px",
|
||||
color="var(--prismui-color-2)",
|
||||
text_overflow="ellipsis",
|
||||
white_space="nowrap",
|
||||
overflow="hidden",
|
||||
),
|
||||
display="flex",
|
||||
align_items="center",
|
||||
width="100%",
|
||||
margin_bottom="8px",
|
||||
),
|
||||
width="100%",
|
||||
cursor="pointer",
|
||||
# 点击事件:将指定任务唯一标识设置为当前任务唯一标识
|
||||
on_click=lambda: TaskState.set_task_id(item.id),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue