|
@@ -101,12 +101,11 @@ export const initSocket = (obj, getMessage) => {
|
|
|
console.log('connect_error');
|
|
|
Toast.show({
|
|
|
duration: 10000,
|
|
|
- content: 'scoket连接出错了',
|
|
|
+ content: 'scoket连接出错了' + e,
|
|
|
});
|
|
|
});
|
|
|
|
|
|
window.socket.on('callNumber', (data) => {
|
|
|
- const data1 = JSON.parse(data);
|
|
|
|
|
|
|
|
|
|
|
@@ -124,7 +123,7 @@ export const initSocket = (obj, getMessage) => {
|
|
|
window.socket.on('disconnect', function (e) {
|
|
|
Toast.show({
|
|
|
duration: 10000,
|
|
|
- content: '连接断开',
|
|
|
+ content: '连接断开' + e,
|
|
|
});
|
|
|
|
|
|
|