From 11d25603a8b5f8bc3d9abbbeedf9c298ca0e2c72 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Wed, 22 Oct 2025 14:45:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(playground):=20=E6=94=AF=E6=8C=81UI?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=BA=93=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/package.json | 2 + playground/src/components/AdapterSelect.vue | 31 ++++++++++ playground/src/components/NavMenu.vue | 20 +++--- playground/src/main.ts | 13 +++- playground/src/pages/FormEditor.vue | 5 ++ .../src/pages/composables/use-editor-menu.ts | 5 ++ pnpm-lock.yaml | 61 ++++++++++++------- 7 files changed, 100 insertions(+), 37 deletions(-) create mode 100644 playground/src/components/AdapterSelect.vue diff --git a/playground/package.json b/playground/package.json index 4fc29f50..1dcfe01a 100644 --- a/playground/package.json +++ b/playground/package.json @@ -15,11 +15,13 @@ "@tmagic/core": "1.6.1", "@tmagic/editor": "1.6.1", "@tmagic/element-plus-adapter": "1.6.1", + "@tmagic/tdesign-vue-next-adapter": "1.6.1", "@tmagic/tmagic-form-runtime": "1.1.3", "element-plus": "^2.11.4", "lodash-es": "^4.17.21", "monaco-editor": "^0.52.2", "serialize-javascript": "^6.0.2", + "tdesign-vue-next": "^1.17.1", "vue": "catalog:", "vue-router": "^4.5.1" }, diff --git a/playground/src/components/AdapterSelect.vue b/playground/src/components/AdapterSelect.vue new file mode 100644 index 00000000..11c23743 --- /dev/null +++ b/playground/src/components/AdapterSelect.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/playground/src/components/NavMenu.vue b/playground/src/components/NavMenu.vue index 068d0506..78b6fb12 100644 --- a/playground/src/components/NavMenu.vue +++ b/playground/src/components/NavMenu.vue @@ -1,5 +1,6 @@ -