|
@@ -424,8 +424,8 @@ export default defineComponent({
|
|
|
}
|
|
|
if (props.room?.id) {
|
|
|
const res = await checkRoomEditOrDel(props.room)
|
|
|
- if (props.room.hostStatus === 1 || res) {
|
|
|
- console.error('当前场景已在直播中。。。。。')
|
|
|
+ if (props.room.hostStatus === 1 || !res) {
|
|
|
+ console.error('当前场景已在直播中或不能删除。。。。。')
|
|
|
isLive.value = true
|
|
|
}
|
|
|
}
|