fix: 桌面客户端内聊天复制图片模糊的情况

This commit is contained in:
kuaifan 2023-10-31 23:23:30 +08:00
parent 9dc7c08b61
commit bbc29d5d5f

View File

@ -1446,7 +1446,7 @@ export default {
onSearchMsgId() {
if (this.dialogSearchMsgId > 0 && this.openId === this.dialogId) {
this.onPositionId(this.dialogSearchMsgId)
this.$store.state.dialogSearchMsgId = 0
this.$store.state.dialogSearchMsgId = 0
}
},
@ -2464,7 +2464,9 @@ export default {
switch (type) {
case 'image':
if (this.$Electron) {
this.$Electron.sendMessage('copyImageAt', this.operateClient);
this.getBase64Image(value).then(base64 => {
this.$Electron.sendMessage('copyBase64Image', {base64});
})
}
break;