From 3ed584e33970ca34ae41e796d105eafa5f74f2ae Mon Sep 17 00:00:00 2001 From: wtq <2394975549@qq.com> Date: Wed, 4 Feb 2026 11:05:32 +0800 Subject: [PATCH] '!' --- .../indexpage/cmp/chatDeatil/chatDetail.vue | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/pages/indexpage/cmp/chatDeatil/chatDetail.vue b/src/pages/indexpage/cmp/chatDeatil/chatDetail.vue index c096ddb..d6848fc 100644 --- a/src/pages/indexpage/cmp/chatDeatil/chatDetail.vue +++ b/src/pages/indexpage/cmp/chatDeatil/chatDetail.vue @@ -59,8 +59,14 @@ />
-
- {{ item.userID + `【${item.storeInfo ? item.storeInfo.name + '(' + item.storeInfo.id +')' : '' }】` }} +
+
+ {{ item.userID }} +
+
+ {{ `【${item.storeInfo ? item.storeInfo.name + '(' + item.storeInfo.id +')' : '' }】` }} +
+
{{ item.latestMsg }}
@@ -160,7 +166,10 @@
-
{{ currentUser.storeInfo ? currentUser.userID + '【' + currentUser.storeInfo.name + '('+ currentUser.storeInfo.id +')' + '】' : '' }}
+
+ + {{ currentUser.storeInfo ? currentUser.userID + '【' + currentUser.storeInfo.name + '('+ currentUser.storeInfo.id +')' + '】' : '' }} +
0 ? JSON.parse(findItem[0].elementContent).text.replace('@商家', '') : latestMsgHandler } - let find = this.personalStore.find(i => i.mtStoreID === userArr[1]) + let find = this.personalStore.find(i => i.elmStoreID === userArr[1]) this.allUserList['elm'].push({ ...resData, latestMsg: latestMsgHandler, @@ -514,7 +523,6 @@ export default { vendorStoreID:userArr[1], storeInfo:find || "" }) - console.log('111111111,,饿了么',this.allUserList['elm']) }else{ // this.allUserList['elm'][findIndex] = { // ...resData, @@ -528,7 +536,6 @@ export default { // } } }) - console.log('1111111111,获取用户列表,,, this.allUserList,饿了么', this.allUserList) // debugger }else if(userArr[2] === '0'){ // 京东 @@ -538,7 +545,7 @@ export default { let findIndex = this.allUserList[userArr[0]][userArr[1]].findIndex(item => item.payLoad.groupId === resData.payLoad.groupId) if(findIndex === -1){ let latestMsgHandler = resData.latestMsg - + let find = this.personalStore.find(i => i.jdStoreID === userArr[1]) this.allUserList[userArr[0]][userArr[1]].push({ ...resData, latestMsg: latestMsgHandler, @@ -604,7 +611,7 @@ export default { queryDetailBut:debounce( function name(query,falg,type) { if(type && type === 'click'){ - console.log(this.currentUser,'11111111111,,聊天记里',query) + // console.log(this.currentUser,'11111111111,,聊天记里',query) if(query.userID === this.currentUser.userID) return // 不用重复点击 // return }