perf: 优化会话搜索
This commit is contained in:
@@ -815,6 +815,7 @@ export default {
|
||||
},
|
||||
|
||||
onClickEditor() {
|
||||
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
|
||||
this.updateEmojiQuick(this.value)
|
||||
},
|
||||
|
||||
|
||||
@@ -453,8 +453,10 @@ export default {
|
||||
|
||||
messengerSearchKey: {
|
||||
handler(obj) {
|
||||
this.dialogSearchKey = obj.dialog
|
||||
this.contactsKey = obj.contacts
|
||||
this.$nextTick(_ => {
|
||||
this.dialogSearchKey = obj.dialog
|
||||
this.contactsKey = obj.contacts
|
||||
})
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user