feat 引入hls

This commit is contained in:
Ironsp
2026-05-25 16:37:31 +08:00
parent 9894eef530
commit da54e9db8d
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
"element-plus": "2.13.5",
"file-saver": "2.0.5",
"highlight.js": "11.11.1",
"hls.js": "^1.6.16",
"image-conversion": "2.1.1",
"js-cookie": "3.0.5",
"jsencrypt": "3.5.4",

View File

@@ -137,6 +137,7 @@ import { EquipmentList, DeviceInfoForm, AlarmAreaData } from '@/api/equipmentLis
import { listDemo, getDemo, delDemo, addDemo, updateDemo } from '@/api/demo/demo';
import { DemoVO, DemoQuery, DemoForm } from '@/api/demo/demo/types';
import { log } from 'node:console';
import Hls from 'hls.js';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -316,7 +317,6 @@ const resetMonitorDraw = () => {
monitorDrawPoints.value = [];
monitorRectPx.value = null;
};
const handleSee = async (row?: any) => {
reset();
resetMonitorDraw();