管理端消息红点显示问题,并且需要及时更新

dev
zhangjinzhe 2024-09-09 09:15:47 +08:00
parent 4696bef0c1
commit b0bb999e14
1 changed files with 6 additions and 1 deletions

View File

@ -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');
}