去除多余代码
This commit is contained in:
parent
c79c06aaa3
commit
79d393ab14
|
|
@ -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', {
|
||||||
|
|
|
||||||
|
|
@ -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: () => {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue