yangjie #36
|
|
@ -441,19 +441,23 @@ const Meeting: React.FC = () => {
|
|||
} else {
|
||||
message.error('当前不在会议室!')
|
||||
}
|
||||
if (!role.ID.includes(userInfo.roleId)) {
|
||||
singInRef.current.getModal().then((res: boolean) => {
|
||||
if (!res) {
|
||||
singInRef.current.changeModal()
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
onCancel() {
|
||||
if (!role.ID.includes(userInfo.roleId)) {
|
||||
singInRef.current.getModal().then((res: boolean) => {
|
||||
if (!res) {
|
||||
singInRef.current.changeModal()
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
return bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue