diff --git a/bingchat/pages/index/index.js b/bingchat/pages/index/index.js
index 31de5fe..192c51e 100644
--- a/bingchat/pages/index/index.js
+++ b/bingchat/pages/index/index.js
@@ -196,6 +196,7 @@ Page({
} else {
that.pushStorageMessage(cht, "搜索中🔍...", "rob", [], true)
}
+ return that.sendWSRequest(content)
// 经测试,mac 平台下打开debug才能触发websocket的onOpen回调。。。
if (systemInfo.platform == "mac") {
if (systemInfo.enableDebug) {
@@ -309,7 +310,7 @@ Page({
searching: false
})
wx.showToast({
- title: '网络异常',
+ title: '网络错误',
})
})
socket.onMessage(data => {
diff --git a/bingchat/pages/index/index.wxml b/bingchat/pages/index/index.wxml
index 6a072eb..c686cac 100644
--- a/bingchat/pages/index/index.wxml
+++ b/bingchat/pages/index/index.wxml
@@ -1,5 +1,5 @@
- 发送
+ 发送
\ No newline at end of file