消息撤回修复

This commit is contained in:
2022-02-24 13:19:59 +08:00
parent 0eb6be37be
commit 4888cf2ad1
4 changed files with 17 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ const connect = (token, userInfo, callback) => {
// 设置未读消息数量
setNotifyBadge()
// 首次运行获取好友列表
const FK = 'ZHKD_' + userInfo.targetId
const FK = 'ZH_V_' + userInfo.targetId
uni.getStorage({
key: FK,

View File

@@ -13,9 +13,13 @@ const contactModel = usqlite.model('contacts', {
type: String,
unique: true
},
portraitUrl: String,
type: {
type: Number,
default: 0
},
portraitUrl: String,
localAvatar: String
})
})
export default {
contactModel