fix: 修复 MJPEG/HTTP 视频窗口可被选中拖拽的问题

This commit is contained in:
mofeng-git
2026-07-16 21:03:27 +08:00
parent 0482987bf1
commit 8036c164b4

View File

@@ -2884,8 +2884,9 @@ onUnmounted(() => {
v-show="videoMode === 'mjpeg'" v-show="videoMode === 'mjpeg'"
ref="videoRef" ref="videoRef"
:src="mjpegUrl" :src="mjpegUrl"
class="w-full h-full object-contain" class="w-full h-full object-contain pointer-events-none select-none"
:alt="t('console.videoAlt')" :alt="t('console.videoAlt')"
draggable="false"
@load="handleVideoLoad" @load="handleVideoLoad"
@error="handleVideoError" @error="handleVideoError"
/> />