From 10d53105fc9ba195328a1aa2ddb5bc7ed98a2a7b Mon Sep 17 00:00:00 2001 From: shangbin Date: Thu, 9 Sep 2021 19:07:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90=E9=80=BB=E8=BE=91=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components-v2/VCC.vue | 32 ++++++++------ src/components/CodeEditor.vue | 5 ++- src/components/JSCodeEditorDialog.vue | 61 +++++++++++++++++++++++++++ 4 files changed, 85 insertions(+), 15 deletions(-) create mode 100644 src/components/JSCodeEditorDialog.vue diff --git a/src/App.vue b/src/App.vue index be5a6cd..9aeb031 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,7 @@ const initCodeStr = '{"template":{"lc_id":"root","__children":[{"div":{"class":" export default { components: { - vcc: () => import('./components/CodeEditor.vue') + vcc: () => import('./components-v2/VCC.vue') }, data() { return { diff --git a/src/components-v2/VCC.vue b/src/components-v2/VCC.vue index 1c8de98..38bde22 100644 --- a/src/components-v2/VCC.vue +++ b/src/components-v2/VCC.vue @@ -23,6 +23,9 @@
+ +
JS
+
@@ -40,6 +43,7 @@ +
@@ -50,18 +54,12 @@ + + \ No newline at end of file