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