|
@@ -202,11 +202,9 @@ const cascaderSend = async ({ projectId, contractId }) => {
|
|
|
}
|
|
|
//链接webSocket
|
|
|
if (!isNullES(socket)) socket.close()
|
|
|
- if (!website.localModel) {
|
|
|
- socket = new HcSocket({ projectId, contractId, userId: userId.value }, (res) => {
|
|
|
- socketData(res?.data)
|
|
|
- })
|
|
|
- }
|
|
|
+ socket = new HcSocket({ projectId, contractId, userId: userId.value }, (res) => {
|
|
|
+ socketData(res?.data)
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
//长链接消息
|