This commit is contained in:
parent
a3f183120f
commit
f48a5a5613
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue