yangjie #22
|
|
@ -657,10 +657,12 @@ const Meeting: React.FC = () => {
|
||||||
height: 150,
|
height: 150,
|
||||||
key: 'noticeWindow',
|
key: 'noticeWindow',
|
||||||
})
|
})
|
||||||
channel.postMessage({
|
setTimeout(() => {
|
||||||
type: 'noticeItem',
|
channel.postMessage({
|
||||||
noticeItem: item
|
type: 'noticeItem',
|
||||||
});
|
noticeItem: item
|
||||||
|
});
|
||||||
|
}, 1000)
|
||||||
} else {
|
} else {
|
||||||
api.open({
|
api.open({
|
||||||
message: '',
|
message: '',
|
||||||
|
|
@ -1537,8 +1539,8 @@ const Meeting: React.FC = () => {
|
||||||
})
|
})
|
||||||
window.electron.createChildWindow({
|
window.electron.createChildWindow({
|
||||||
url: location.origin + `/#/noticeWindow`,
|
url: location.origin + `/#/noticeWindow`,
|
||||||
width: 1,
|
width: 388,
|
||||||
height: 1,
|
height: 150,
|
||||||
key: 'noticeWindow',
|
key: 'noticeWindow',
|
||||||
})
|
})
|
||||||
setKeyOpenChildWindow('shareScreenWindow', true)
|
setKeyOpenChildWindow('shareScreenWindow', true)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue