From 6ccc833f7d6ab5c025eb5514abcf3a0fd76d619d Mon Sep 17 00:00:00 2001 From: dt Date: Fri, 15 Sep 2023 03:56:17 +0800 Subject: [PATCH] Remove unnecessary components, add an action bar. --- .../flowEditor/left/ControlPanel.vue | 73 ----------- .../flowEditor/left/ControlPanelC.vue | 18 +-- .../flowEditor/left/ControlPanelTreeRadio.vue | 23 ---- .../flowEditor/left/ItemSelector.vue | 62 ++++++---- frontend/src/pages/FlowEditorPage.vue | 115 +++++++++++------- 5 files changed, 118 insertions(+), 173 deletions(-) delete mode 100644 frontend/src/components/flowEditor/left/ControlPanel.vue delete mode 100644 frontend/src/components/flowEditor/left/ControlPanelTreeRadio.vue diff --git a/frontend/src/components/flowEditor/left/ControlPanel.vue b/frontend/src/components/flowEditor/left/ControlPanel.vue deleted file mode 100644 index 41a5bda..0000000 --- a/frontend/src/components/flowEditor/left/ControlPanel.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - diff --git a/frontend/src/components/flowEditor/left/ControlPanelC.vue b/frontend/src/components/flowEditor/left/ControlPanelC.vue index adc9d6a..b4e4285 100644 --- a/frontend/src/components/flowEditor/left/ControlPanelC.vue +++ b/frontend/src/components/flowEditor/left/ControlPanelC.vue @@ -1,12 +1,13 @@ @@ -16,9 +17,10 @@ import { LeftDataBus, setControlPanelE, } from 'components/flowEditor/left/DataBus'; -import ControlPanelTreeRadio from './ControlPanelTreeRadio.vue'; +import { ref } from 'vue'; // 应该在page中用网络请求获取值并初始化组件 // 然后在page中执行setControlPane设置databus +const selected = ref('追加画面表示した時'); setControlPanelE(); diff --git a/frontend/src/components/flowEditor/left/ControlPanelTreeRadio.vue b/frontend/src/components/flowEditor/left/ControlPanelTreeRadio.vue deleted file mode 100644 index 7510f2d..0000000 --- a/frontend/src/components/flowEditor/left/ControlPanelTreeRadio.vue +++ /dev/null @@ -1,23 +0,0 @@ - - diff --git a/frontend/src/components/flowEditor/left/ItemSelector.vue b/frontend/src/components/flowEditor/left/ItemSelector.vue index 52c9273..44752c3 100644 --- a/frontend/src/components/flowEditor/left/ItemSelector.vue +++ b/frontend/src/components/flowEditor/left/ItemSelector.vue @@ -1,32 +1,42 @@ - - - diff --git a/frontend/src/pages/FlowEditorPage.vue b/frontend/src/pages/FlowEditorPage.vue index 61120e9..c58446d 100644 --- a/frontend/src/pages/FlowEditorPage.vue +++ b/frontend/src/pages/FlowEditorPage.vue @@ -1,11 +1,46 @@