管理端消息红点显示问题,并且需要及时更新
parent
4696bef0c1
commit
b0bb999e14
|
@ -20,7 +20,7 @@
|
|||
<view class="contentbox, swipe-action__content__text" style="display: flex;"
|
||||
@click="gotoAddr(item.userId, item.nickName, item.avatar)">
|
||||
<view>
|
||||
<view class="contentboxtop" v-if=" item.statusone == 0">
|
||||
<view class="contentboxtop" v-if="myuserid == item.receiverId && item.statusone == 0">
|
||||
</view>
|
||||
<view>
|
||||
<image v-if="item.avatar" class="contentboximage" :src="bindIcon(item.avatar)"></image>
|
||||
|
@ -76,6 +76,7 @@ watch(
|
|||
console.log("新消息22,", newVal);
|
||||
console.log("旧数据:", sendercont.value);
|
||||
newMessageInfo(newVal);
|
||||
refresh();
|
||||
},
|
||||
{ deep: true }
|
||||
);
|
||||
|
@ -95,6 +96,10 @@ watch(
|
|||
}
|
||||
console.log("原始数据:",sendercont.value);
|
||||
}
|
||||
function refresh() {
|
||||
//刷新逻辑
|
||||
GetListSend();
|
||||
}
|
||||
const toadUser = () => {
|
||||
proxy.$tab.navigateTo('/pages/message/adUser');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue