新增APP适配

This commit is contained in:
gyq
2025-09-18 18:13:56 +08:00
parent 71800cf9dc
commit 2bd6f25498
9 changed files with 73 additions and 69 deletions

View File

@@ -260,7 +260,7 @@ function handleSocketOpen(res, resolve) {
function handleSocketMessage(res) {
try {
let data = JSON.parse(res.data);
console.log('收到socket消息:', data);
// console.log('收到socket消息:', data);
eventBus.emit('message', data);
} catch (e) {
console.error('解析socket消息失败:', e);
@@ -341,7 +341,7 @@ function sendMessage(data) {
socketTask.send({
data: messageData,
success: () => {
console.log('消息发送成功');
// console.log('消息发送成功');
},
fail: (err) => {
console.error('消息发送失败:', err);