fix: 修复直播间状态检测的多项bug - 状态值扩展为1或2,API异常时用页面HTML兜底,页面解析增加转义清理,前端移除选中阻断自动刷新
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -129,7 +129,6 @@ function shouldAutoRefreshRooms() {
|
||||
!recordDialogVisible.value &&
|
||||
!settingsDialogVisible.value &&
|
||||
!deleteDialogVisible.value &&
|
||||
selectedRooms.value.length === 0 &&
|
||||
!submitLoading.value &&
|
||||
!importLoading.value &&
|
||||
!exportLoading.value &&
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user