This commit is contained in:
yj 2024-12-13 14:35:47 +08:00
parent 9f154c558e
commit 6fce7478c6
1 changed files with 3 additions and 0 deletions

View File

@ -306,6 +306,7 @@ const Index: React.FC = () => {
year: item.year,
id: item.id,
})
setAllowAnonymous(item.allowAnonymous)
getSubDpList()
setIsCreateRoom(false)
setCreateRoomModal(true)
@ -496,6 +497,7 @@ const Index: React.FC = () => {
if (res.code === 200) {
message.success('创建成功!')
setCreateRoomModal(false)
setAllowAnonymous(true)
getRoomList()
}
})
@ -506,6 +508,7 @@ const Index: React.FC = () => {
if (res.code === 200) {
message.success('更新成功!')
setCreateRoomModal(false)
setAllowAnonymous(true)
getRoomList()
}
})