From 789a5385571b07671fc8c036f2fbffe88bddf35d Mon Sep 17 00:00:00 2001 From: engigu Date: Thu, 26 Feb 2026 21:41:57 +0800 Subject: [PATCH] fix: tree copy and tasklist style --- web/src/components/FileTreeNode.vue | 19 ++++++++------ web/src/components/TextOverflow.vue | 7 ++---- web/src/views/editor/Editor.vue | 26 ++++++++++++++++++- web/src/views/tasks/Tasks.vue | 39 ++++++++++++++++++----------- 4 files changed, 63 insertions(+), 28 deletions(-) diff --git a/web/src/components/FileTreeNode.vue b/web/src/components/FileTreeNode.vue index c51df0f..b03d2cb 100644 --- a/web/src/components/FileTreeNode.vue +++ b/web/src/components/FileTreeNode.vue @@ -87,16 +87,21 @@ function handleDrop(e: DragEvent) { {{ node.name }} -
- +
+ - +
-
- +
+
@@ -105,8 +110,8 @@ function handleDrop(e: DragEvent) { + @rename="$emit('rename', $event)" @delete="$emit('delete', $event)" + @download-file="$emit('downloadFile', $event)" @duplicate="$emit('duplicate', $event)" />
diff --git a/web/src/components/TextOverflow.vue b/web/src/components/TextOverflow.vue index 0ad6e84..ce7bf56 100644 --- a/web/src/components/TextOverflow.vue +++ b/web/src/components/TextOverflow.vue @@ -22,11 +22,8 @@ function handleClick() { {{ getExecutorName(task) }}
- + -