管理员不需要谈签到

This commit is contained in:
yj 2024-11-13 17:25:46 +08:00
parent be6de54c0d
commit 35ff92c99a
1 changed files with 14 additions and 10 deletions

View File

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