From f79ba0f06be830e2d2c459f1e494ffcfabf7bd16 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Tue, 24 Sep 2024 13:48:04 +0800 Subject: [PATCH 1/4] =?UTF-8?q?9.24=E7=A6=85=E9=81=93bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/baseinfo/clientflowtemplate/Lowflow/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue b/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue index c498bcb7..b5425ccd 100644 --- a/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue +++ b/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue @@ -4,7 +4,6 @@ import { FlowNode } from './nodes/Node/index' import useNode from './hooks/useNode' import { computed, onUnmounted, provide, ref } from 'vue' - import { Plus, Minus, Download, Sunny, Moon } from '@element-plus/icons-vue' import { useVModels } from '@vueuse/core' import { Field } from '/@/components/Render/interface' import { downloadXml } from '../api' From e5add46c56cd5fe1e81deeef08070121cf6d9f21 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Tue, 24 Sep 2024 13:50:04 +0800 Subject: [PATCH 2/4] =?UTF-8?q?9.24=E7=A6=85=E9=81=93bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../clientflowtemplate/Lowflow/index.vue | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue b/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue index b5425ccd..0013323e 100644 --- a/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue +++ b/src/views/baseinfo/clientflowtemplate/Lowflow/index.vue @@ -21,13 +21,6 @@ const zoom = ref(100) const getScale = computed(() => zoom.value / 100) const isDark = ref(false) - const handleToggleDark = () => { - if (isDark.value) { - document.documentElement.classList.add('dark') - } else { - document.documentElement.classList.remove('dark') - } - } const openPenal = (node: FlowNode) => { nodePenalRef.value?.open(node) } @@ -87,22 +80,11 @@