fix: 修复直播间状态检测的多项bug - 状态值扩展为1或2,API异常时用页面HTML兜底,页面解析增加转义清理,前端移除选中阻断自动刷新

This commit is contained in:
2026-04-28 19:26:41 +08:00
parent e0f91716ab
commit 49d893f29b
5 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<script setup lang="ts">
<script setup lang="ts">
import { computed, onMounted, ref } from "vue";
import { useRouter } from "vue-router";
import { useViewport } from "@/composables/useViewport";
-1
View File
@@ -129,7 +129,6 @@ function shouldAutoRefreshRooms() {
!recordDialogVisible.value &&
!settingsDialogVisible.value &&
!deleteDialogVisible.value &&
selectedRooms.value.length === 0 &&
!submitLoading.value &&
!importLoading.value &&
!exportLoading.value &&
+1 -1
View File
@@ -1,4 +1,4 @@
<script setup lang="ts">
<script setup lang="ts">
import { computed, onBeforeUnmount, onMounted, reactive, ref } from "vue";
import { useRouter } from "vue-router";
import { ElMessage, ElNotification } from "element-plus";