fix: 订单管理页面调整增加退款功能,代客下单调整
This commit is contained in:
@@ -120,7 +120,15 @@ class WebSocketManager {
|
||||
...this.initParams,
|
||||
...message,
|
||||
})
|
||||
this.client.send(msg);
|
||||
try {
|
||||
this.client.send(msg);
|
||||
|
||||
} catch (error) {
|
||||
ElMessage.error('发送失败')
|
||||
this.disconnect()
|
||||
this.setupWebSocket();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
public canSendMessage() {
|
||||
|
||||
Reference in New Issue
Block a user