From 79d393ab14b2fa2d43d9d03e778a83ddb583ffdf Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Thu, 20 Feb 2025 17:13:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- preload.js | 2 +- src/components/Code/index.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/preload.js b/preload.js index 22bc873..19e9075 100644 --- a/preload.js +++ b/preload.js @@ -134,7 +134,7 @@ window.electron = { ipcRenderer.invoke('createChildWindow', { url: location.origin + `/#/noticeWindow`, width: 388, - height: 150, + height: 180, key: 'noticeWindow', }) ipcRenderer.invoke('createChildWindow', { diff --git a/src/components/Code/index.tsx b/src/components/Code/index.tsx index 289e0cc..13d475b 100644 --- a/src/components/Code/index.tsx +++ b/src/components/Code/index.tsx @@ -3,7 +3,6 @@ import { Empty, Popover } from 'antd'; import { GetQrcode } from '@/api/Home/Index'; import { memo, useImperativeHandle, forwardRef, useState } from "react"; const Code = forwardRef((props: any, ref: any) => { - console.log(props); useImperativeHandle(ref, () => ({ getData: () => {