去除多余代码

This commit is contained in:
yj 2025-02-20 17:13:30 +08:00
parent c79c06aaa3
commit 79d393ab14
2 changed files with 1 additions and 2 deletions

View File

@ -134,7 +134,7 @@ window.electron = {
ipcRenderer.invoke('createChildWindow', { ipcRenderer.invoke('createChildWindow', {
url: location.origin + `/#/noticeWindow`, url: location.origin + `/#/noticeWindow`,
width: 388, width: 388,
height: 150, height: 180,
key: 'noticeWindow', key: 'noticeWindow',
}) })
ipcRenderer.invoke('createChildWindow', { ipcRenderer.invoke('createChildWindow', {

View File

@ -3,7 +3,6 @@ import { Empty, Popover } from 'antd';
import { GetQrcode } from '@/api/Home/Index'; import { GetQrcode } from '@/api/Home/Index';
import { memo, useImperativeHandle, forwardRef, useState } from "react"; import { memo, useImperativeHandle, forwardRef, useState } from "react";
const Code = forwardRef((props: any, ref: any) => { const Code = forwardRef((props: any, ref: any) => {
console.log(props);
useImperativeHandle(ref, () => ({ useImperativeHandle(ref, () => ({
getData: () => { getData: () => {