diff --git a/pkg/core/taskmgr.py b/pkg/core/taskmgr.py index 0a8af919..d7436b06 100644 --- a/pkg/core/taskmgr.py +++ b/pkg/core/taskmgr.py @@ -137,6 +137,8 @@ class TaskWrapper: for frame in self.task_stack: exception_traceback += f" File \"{frame.f_code.co_filename}\", line {frame.f_lineno}, in {frame.f_code.co_name}\n" + exception_traceback += f" {self.assume_exception().__str__()}\n" + return { "id": self.id, "task_type": self.task_type, diff --git a/web/src/App.vue b/web/src/App.vue index 02a42f45..f8ebed38 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -69,7 +69,7 @@ import { getCurrentInstance } from 'vue' import {provide, ref, watch} from 'vue'; -import TaskDialog from '@/components/TaskDialog.vue' +import TaskDialog from '@/components/TaskListDialog.vue' const { proxy } = getCurrentInstance() diff --git a/web/src/components/TaskCard.vue b/web/src/components/TaskCard.vue index 653a8670..167f6f41 100644 --- a/web/src/components/TaskCard.vue +++ b/web/src/components/TaskCard.vue @@ -2,19 +2,66 @@
- + + +
{{ task.kind }}
{{ task.label }}
- 正在执行: {{ task.task_context.current_action }} + 正在执行: {{ task.task_context.current_action }} + 完成 + + + + + + + +
- + + + + + +
+