diff --git a/src/api/chat/index.js b/src/api/chat/index.js index 791858f..e75c9b4 100644 --- a/src/api/chat/index.js +++ b/src/api/chat/index.js @@ -44,7 +44,7 @@ export const ServeTopTalkList = (data) => { // 清除聊天消息未读数服务接口 export const ServeClearTalkUnreadNum = (data, unReadNum) => { console.log('=======chatApp==UnreadNum', unReadNum) - if(!useTalkStore().items[useTalkStore().findTalkIndex(useDialogueStore().index_name)].is_disturb){ + if(!useTalkStore().items[useTalkStore().findTalkIndex(useDialogueStore().index_name)]?.is_disturb){ if (typeof plus !== 'undefined') { let OAWebView = plus.webview.all() OAWebView.forEach((webview) => { diff --git a/src/components/custom-navbar/index.vue b/src/components/custom-navbar/index.vue index 3b0f168..1baae82 100644 --- a/src/components/custom-navbar/index.vue +++ b/src/components/custom-navbar/index.vue @@ -1,7 +1,6 @@