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 }}