fix: 用标题补全 TaskTree 空说明
This commit is contained in:
@@ -44,7 +44,7 @@ const localTreeItems = computed(() => {
|
||||
});
|
||||
const taskReports = computed(() => props.reports.filter((report) => report.taskId === props.task.id));
|
||||
const combinedMarkdown = computed(() => {
|
||||
const description = props.task.description.trim() || "未填写任务说明。";
|
||||
const description = props.task.description.trim() || props.task.title.trim();
|
||||
const reports = taskReports.value.length
|
||||
? taskReports.value.map((report) => [
|
||||
`### ${plainReportTitle(report)}`,
|
||||
|
||||
Reference in New Issue
Block a user