From 041168194b5b55f6382eb08450d550147b87432f Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Wed, 16 Apr 2025 17:09:58 +0800 Subject: [PATCH] update --- packages/frontend/src/App.vue | 5 + .../src/components/FileEditorOverlay.vue | 98 ++++--- .../frontend/src/components/FileManager.vue | 53 ++-- .../frontend/src/stores/fileEditor.store.ts | 239 ++++++++++++++++++ 4 files changed, 335 insertions(+), 60 deletions(-) create mode 100644 packages/frontend/src/stores/fileEditor.store.ts diff --git a/packages/frontend/src/App.vue b/packages/frontend/src/App.vue index a1876e9..11b9780 100644 --- a/packages/frontend/src/App.vue +++ b/packages/frontend/src/App.vue @@ -5,6 +5,8 @@ import { useAuthStore } from './stores/auth.store'; import { storeToRefs } from 'pinia'; // 导入通知显示组件 import UINotificationDisplay from './components/UINotificationDisplay.vue'; +// 导入文件编辑器弹窗组件 +import FileEditorOverlay from './components/FileEditorOverlay.vue'; const { t } = useI18n(); const authStore = useAuthStore(); @@ -39,6 +41,9 @@ const handleLogout = () => { + + +