From 06ca8011d7526d8d3d1765a7376e8cded3b72845 Mon Sep 17 00:00:00 2001
From: linghaihui <75124771@qq.com>
Date: Mon, 27 Mar 2023 12:18:09 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4UI?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bingchat/pages/index/index.js | 3 ++-
bingchat/pages/index/index.wxml | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
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