This commit is contained in:
yj 2024-08-23 15:14:08 +08:00
parent a3f183120f
commit f48a5a5613
2 changed files with 7 additions and 10 deletions

View File

@ -54,7 +54,6 @@ const Home: React.FC = () => {
specific: '', specific: '',
}) })
useEffect(() => { useEffect(() => {
console.log(window.electron.getVersion());
setUserInfo(user) setUserInfo(user)
window.electron.getVersion().then(res => { window.electron.getVersion().then(res => {
setVersion(res) setVersion(res)

View File

@ -85,13 +85,13 @@ const Meeting: React.FC = () => {
active: false, active: false,
select: false, select: false,
}, },
{ // {
title: '会议监控', // title: '会议监控',
icon: ImageUrl.icon48, // icon: ImageUrl.icon48,
iconSelect: ImageUrl.icon48Select, // iconSelect: ImageUrl.icon48Select,
active: false, // active: false,
select: false, // select: false,
}, // },
{ {
title: '录制', title: '录制',
icon: ImageUrl.icon27, icon: ImageUrl.icon27,
@ -430,7 +430,6 @@ const Meeting: React.FC = () => {
i.forEach((i: any) => { i.forEach((i: any) => {
if (i.className === 'ant-notification-notice ant-notification-notice-closable') { if (i.className === 'ant-notification-notice ant-notification-notice-closable') {
i.childNodes.forEach((row: any) => { i.childNodes.forEach((row: any) => {
console.log(row.className);
if (row.className === 'ant-notification-notice-close') { if (row.className === 'ant-notification-notice-close') {
row.click() row.click()
} }
@ -448,7 +447,6 @@ const Meeting: React.FC = () => {
item.forEach((item: any) => { item.forEach((item: any) => {
if (item.className === 'ant-notification-notice ant-notification-notice-closable') { if (item.className === 'ant-notification-notice ant-notification-notice-closable') {
item.childNodes.forEach((row: any) => { item.childNodes.forEach((row: any) => {
console.log(row.className);
if (row.className === 'ant-notification-notice-close') { if (row.className === 'ant-notification-notice-close') {
row.click() row.click()
} }