From 3177c5a0b3350ce9748226fc2fe954b98c40b6c4 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 16 Jun 2025 19:49:08 +0800 Subject: [PATCH] update --- src/App.vue | 2 +- src/components/ServiceConfigurationActions.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index b91faa8..edb3a3c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -166,7 +166,7 @@ function setupStateUpdateWebSocket() { } function createWebSocket(type) { - const url = process.env.NODE_ENV === 'production' ? `ws://${window.location.host}:80/api/v1/app/ws/${type}` + const url = process.env.NODE_ENV === 'production' ? `ws://${window.location.host}/api/v1/app/ws/${type}` : `ws://localhost:80/api/v1/app/ws/${type}`; return new WebSocket(url); } diff --git a/src/components/ServiceConfigurationActions.vue b/src/components/ServiceConfigurationActions.vue index 7c3bce0..aac2f7c 100644 --- a/src/components/ServiceConfigurationActions.vue +++ b/src/components/ServiceConfigurationActions.vue @@ -28,7 +28,7 @@ :value="enumItem.value">{{ enumItem.name }} + v-else-if="'iflytop.extui.type.param.ExtUIFile' === actionParam.type" v-model:value="actionParam.value" /> {{ actionParam }}