mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
fix: 桌面客户端内聊天复制图片模糊的情况
This commit is contained in:
parent
9dc7c08b61
commit
bbc29d5d5f
@ -1446,7 +1446,7 @@ export default {
|
|||||||
onSearchMsgId() {
|
onSearchMsgId() {
|
||||||
if (this.dialogSearchMsgId > 0 && this.openId === this.dialogId) {
|
if (this.dialogSearchMsgId > 0 && this.openId === this.dialogId) {
|
||||||
this.onPositionId(this.dialogSearchMsgId)
|
this.onPositionId(this.dialogSearchMsgId)
|
||||||
this.$store.state.dialogSearchMsgId = 0
|
this.$store.state.dialogSearchMsgId = 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2464,7 +2464,9 @@ export default {
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case 'image':
|
case 'image':
|
||||||
if (this.$Electron) {
|
if (this.$Electron) {
|
||||||
this.$Electron.sendMessage('copyImageAt', this.operateClient);
|
this.getBase64Image(value).then(base64 => {
|
||||||
|
this.$Electron.sendMessage('copyBase64Image', {base64});
|
||||||
|
})
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user