diff --git a/pages/im/components/connectionStatus.vue b/pages/im/components/connectionStatus.vue
new file mode 100644
index 0000000..3009e43
--- /dev/null
+++ b/pages/im/components/connectionStatus.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
diff --git a/pages/im/index.vue b/pages/im/index.vue
index 3701d17..b4b715d 100644
--- a/pages/im/index.vue
+++ b/pages/im/index.vue
@@ -17,10 +17,10 @@
-
-
+
-
+
+
@@ -38,7 +38,8 @@
import * as RongIMLib from '@/uni_modules/RongCloud-IMWrapper/js_sdk/index'
import im from '@/utils/im/index.js'
import userAuth from '@/public/userAuth'
- import conversationList from './components/conversationList'
+ import conversationList from './components/conversationList'
+ import connectionStatus from './components/connectionStatus'
export default {
data() {
@@ -49,7 +50,8 @@
}
},
components: {
- conversationList
+ conversationList,
+ connectionStatus
},
onLoad() {
// 好友申请数量
@@ -96,7 +98,7 @@
RongIMLib.getConversationList([1, 3], count, timestamp, ({
code,
conversations
- }) => {
+ }) => {
if (code === 0) {
this.conversations = conversations
}