yangjie #35
|
|
@ -164,6 +164,7 @@ const App: React.FC = () => {
|
|||
if (location.href.indexOf('/login') !== -1) {
|
||||
window.electron.onStop()
|
||||
}
|
||||
message.destroy('cameraTemporarily')
|
||||
}, [navigate])
|
||||
}
|
||||
useEffect(() => {
|
||||
|
|
|
|||
|
|
@ -1060,6 +1060,14 @@ const Meeting: React.FC = () => {
|
|||
}
|
||||
return bool
|
||||
})
|
||||
} else if (reason === 3 || reason === 4) {
|
||||
message.error({
|
||||
content: <div>请检查摄像头是否正常工作,检查摄像头是否被其他应用占用,或者尝试重新加入频道 <span style={{ color: '#606fc7', cursor: 'pointer' }} onClick={() => {
|
||||
stupWizardRef.current.changeModal(1);
|
||||
}}>前往设置</span></div>,
|
||||
duration: 60,
|
||||
key: 'cameraTemporarily'
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue