From 3b1e41b2178b6e12232f99c60471a911c874aabd Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 20 Jun 2025 15:05:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor(playground):=20=E6=95=B4=E7=90=86?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/src/pages/Editor.vue | 197 ++---------------- .../use-editor-content-menu-data.ts | 61 ++++++ .../src/pages/composables/use-editor-menu.ts | 98 +++++++++ .../src/pages/composables/use-editor-res.ts | 45 ++++ 4 files changed, 220 insertions(+), 181 deletions(-) create mode 100644 playground/src/pages/composables/use-editor-content-menu-data.ts create mode 100644 playground/src/pages/composables/use-editor-menu.ts create mode 100644 playground/src/pages/composables/use-editor-res.ts diff --git a/playground/src/pages/Editor.vue b/playground/src/pages/Editor.vue index 01627dec..130013d7 100644 --- a/playground/src/pages/Editor.vue +++ b/playground/src/pages/Editor.vue @@ -40,62 +40,35 @@