From a6aa3cc514b678d378e74858874570906f7de37b Mon Sep 17 00:00:00 2001 From: zhanghao <774378400@qq.com> Date: Tue, 13 Jan 2026 15:20:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=BB=BAAI=E8=AF=84=E4=BC=B0?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +-- src/views/flow/components/NodeTitle.vue | 15 +------- src/views/flow/config.js | 47 +++++++++++++++++++++++-- 3 files changed, 48 insertions(+), 18 deletions(-) diff --git a/.env.development b/.env.development index 2b7d0bc..290b571 100644 --- a/.env.development +++ b/.env.development @@ -7,8 +7,8 @@ VITE_APP_ENV = 'development' # 招商车研物联网平台/开发环境 VITE_APP_BASE_API = '/dev-api' -VITE_API_URL = http://192.168.0.100:13080 -VITE_WS_URL = ws://192.168.0.100:13080/ws +VITE_API_URL = http://192.168.0.10:13080 +VITE_WS_URL = ws://192.168.0.10:13080/ws # VITE_API_URL = http://10.148.108.95:13080 //杨溪IP # VITE_API_URL = http://10.148.108.58:13080 //赵培利IP diff --git a/src/views/flow/components/NodeTitle.vue b/src/views/flow/components/NodeTitle.vue index 49871c7..5e6a4ab 100644 --- a/src/views/flow/components/NodeTitle.vue +++ b/src/views/flow/components/NodeTitle.vue @@ -171,26 +171,13 @@ const handleInputKeydown = (e) => { e.returnValue = true; // 允许默认粘贴行为 } } -// const svgModules = import.meta.glob('../icon/*.svg', { eager: true }); -// console.log('svgModules', svgModules) -// const imageUrl = computed(async () => { -// if (props.icon && props.icon.startsWith('/src/')) { -// const modules = await import(`${props.icon}`); -// console.log('modules', modules) -// return modules.default - -// } else { -// return props.icon; -// } -// }) const imageUrl = () => { - console.log('props.icon', props.icon) return new URL(props.icon, import.meta.url).href; }