调试
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
</view>
|
||||
<u-alert type="warning" v-if="connection != 0" description="网络似乎断开了,请检查网络" :show-icon="true" />
|
||||
<!-- content -->
|
||||
<view v-if="$store.state.token !== ''">
|
||||
<view v-if="$store.state.token !== ''">
|
||||
<view @click="onDemo">临时测试用</view>
|
||||
<conversation-list @refresh="getConversationList()" :conversations="conversations" />
|
||||
</view>
|
||||
<!-- 未登录 -->
|
||||
@@ -71,7 +72,13 @@
|
||||
onHide() {
|
||||
uni.$off('onReceiveMessage')
|
||||
},
|
||||
methods: {
|
||||
methods: {
|
||||
onDemo(){
|
||||
console.log('1111')
|
||||
uni.navigateTo({
|
||||
url: '/pages/im/chatDemo'
|
||||
})
|
||||
},
|
||||
checkNewFriendPending() {
|
||||
im.getPendingList((pendings) => {
|
||||
this.hasNewFriends = pendings.length
|
||||
|
||||
Reference in New Issue
Block a user