diff --git a/apps/web-antd/src/views/business/chat/composables/useWebSocket.ts b/apps/web-antd/src/views/business/chat/composables/useWebSocket.ts index 480afc08..0227ef4b 100644 --- a/apps/web-antd/src/views/business/chat/composables/useWebSocket.ts +++ b/apps/web-antd/src/views/business/chat/composables/useWebSocket.ts @@ -22,8 +22,8 @@ export function useWebSocket() { try { // const wsUrl = import.meta.env.VITE_WS_URL || "wss://g-ws.nailaoyun.cn/ws" - // const wsUrl = import.meta.env.VITE_WS_URL || 'ws://localhost:12080/ws'; - const wsUrl = 'wss://api.ws.g.xiaokang88.com/ws'; + const wsUrl = import.meta.env.VITE_WS_URL || 'ws://localhost:12080/ws'; + // const wsUrl = 'wss://api.ws.g.xiaokang88.com/ws'; // const wsUrl = import.meta.env.VITE_WS_URL || "wss://g-ws.nailaoyun.cn/ws" socket.value = new WebSocket(wsUrl); diff --git a/apps/web-antd/src/views/doctor/online-consultation/index.vue b/apps/web-antd/src/views/doctor/online-consultation/index.vue index 6956c2b7..8f5e85da 100644 --- a/apps/web-antd/src/views/doctor/online-consultation/index.vue +++ b/apps/web-antd/src/views/doctor/online-consultation/index.vue @@ -470,7 +470,7 @@ const handleAddPatientProductsToPrescription = async () => { @@ -482,7 +482,7 @@ const handleAddPatientProductsToPrescription = async () => {