From de75fce63581d807a425037bcbd296c82ef8584d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 12 Oct 2025 20:01:45 +0800 Subject: [PATCH] bugfix --- wwwroot/task_info.ui | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wwwroot/task_info.ui b/wwwroot/task_info.ui index cd37b95..d183617 100644 --- a/wwwroot/task_info.ui +++ b/wwwroot/task_info.ui @@ -1,5 +1,6 @@ {% set dmgr=DownloadMgr(request) %} {% set status=dmgr.get_task_status(params_kw.taskid) %} +{% if status %} { "widgettype":"VBox", "options":{ @@ -24,3 +25,12 @@ } ] } +{ + "widgettype":"Text", + "options":{ + "cwidth":16, + "cheight":14, + "text":"{{paramas_kw.taskid}} get status error" + } +} +{% endif %}