From bbc29d5d5fac861eab8dc5f34e0c8903dbc5cb19 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 31 Oct 2023 23:23:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A1=8C=E9=9D=A2=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E5=86=85=E8=81=8A=E5=A4=A9=E5=A4=8D=E5=88=B6=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=A8=A1=E7=B3=8A=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/js/pages/manage/components/DialogWrapper.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index a0355c169..8fcb74b92 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -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;