yangjie #36

Merged
yangqiang merged 7 commits from yangjie into master 2024-11-14 10:57:31 +08:00
1 changed files with 14 additions and 10 deletions
Showing only changes of commit 35ff92c99a - Show all commits

View File

@ -441,18 +441,22 @@ const Meeting: React.FC = () => {
} else { } else {
message.error('当前不在会议室!') message.error('当前不在会议室!')
} }
singInRef.current.getModal().then((res: boolean) => { if (!role.ID.includes(userInfo.roleId)) {
if (!res) { singInRef.current.getModal().then((res: boolean) => {
singInRef.current.changeModal() if (!res) {
} singInRef.current.changeModal()
}) }
})
}
}, },
onCancel() { onCancel() {
singInRef.current.getModal().then((res: boolean) => { if (!role.ID.includes(userInfo.roleId)) {
if (!res) { singInRef.current.getModal().then((res: boolean) => {
singInRef.current.changeModal() if (!res) {
} singInRef.current.changeModal()
}) }
})
}
} }
}) })
} }