Browse Source

update

master
zhaohe 2 months ago
parent
commit
3177c5a0b3
  1. 2
      src/App.vue
  2. 2
      src/components/ServiceConfigurationActions.vue

2
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);
}

2
src/components/ServiceConfigurationActions.vue

@ -28,7 +28,7 @@
:value="enumItem.value">{{ enumItem.name }}</a-select-option>
</a-select>
<service-configuration-action-param-file
v-else-if="'a8k.extui.type.param.ExtUIFile' === actionParam.type" v-model:value="actionParam.value" />
v-else-if="'iflytop.extui.type.param.ExtUIFile' === actionParam.type" v-model:value="actionParam.value" />
<span v-else>{{ actionParam }}</span>
</div>
</td>

Loading…
Cancel
Save