Parcourir la source

长链接端口修改

asd26269546 il y a 1 an
Parent
commit
58aa163359
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/notice/index.vue

+ 1 - 1
src/components/notice/index.vue

@@ -135,7 +135,7 @@ const confirm = () => {
 
 const socketInit = () => {
 	window.ws = new WebSocket(
-		'ws://'+ import.meta.env.VITE_APP_IP +':9898'+ import.meta.env.VITE_APP_WS_API +'/webStock/' +
+		'ws://'+ import.meta.env.VITE_APP_IP +':20001'+ import.meta.env.VITE_APP_WS_API +'/webStock/' +
 			getToken()
 		// 'ws://192.168.1.97:8300/webStock/' + window.localStorage.getItem('token')
 	)