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: () => {