去除console

This commit is contained in:
yj 2024-08-30 12:20:26 +08:00
parent 697b2521d5
commit 2034dbed21
1 changed files with 0 additions and 3 deletions

View File

@ -496,7 +496,6 @@ const Meeting: React.FC = () => {
await agora.init(true)
agora.registerEventHandler({
onJoinChannelSuccess: async (info: any, _elapsed: any) => {
console.log(info, '本地');
if (info.channelId === state.channelId) {
if (String(info.localUid).length !== 9) {
await getJoin(state.enableMicr, state.enableCamera)
@ -513,7 +512,6 @@ const Meeting: React.FC = () => {
}
},
onUserJoined: async (info: any, remoteUid: any, _elapsed: any) => {
console.log(info, remoteUid, '远端');
if (info.channelId === state.channelId) {
if (String(remoteUid).length === 9) {
setIsShare(remoteUid)
@ -529,7 +527,6 @@ const Meeting: React.FC = () => {
}
},
onUserOffline: async (info: any, remoteUid: any, _reason: any) => {
console.log(info, remoteUid, '离开');
if (info.channelId === state.channelId) {
if (String(remoteUid).length === 9) {
setIsShare(null)