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 %}