From b9691b0965656af0cba950e2e0cea402ab164ce8 Mon Sep 17 00:00:00 2001 From: kjqwer <2990346238@qq.com> Date: Sat, 6 Dec 2025 12:34:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PresetManager.vue | 157 +++++++++++++++++++- src/components/PromptEditor.vue | 3 +- src/components/TranslationPopup.vue | 33 +++- src/components/editor/EditorInput.vue | 11 +- src/components/editor/EditorToolbar.vue | 8 +- src/components/editor/TokenMappingPanel.vue | 23 ++- src/components/preset/PresetList.vue | 9 +- 7 files changed, 228 insertions(+), 16 deletions(-) diff --git a/src/components/PresetManager.vue b/src/components/PresetManager.vue index fea66e5..b9db6e8 100644 --- a/src/components/PresetManager.vue +++ b/src/components/PresetManager.vue @@ -17,6 +17,7 @@ const selectedFolderId = ref(null); const expandedFolderIds = ref>(new Set()); // Dialog State +const showMobileSidebar = ref(false); const showCreateDialog = ref(false); const showFolderDialog = ref(false); const editingPreset = ref(null); @@ -635,8 +636,12 @@ onMounted(() => {