diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..0464694 Binary files /dev/null and b/dist.zip differ diff --git a/package-lock.json b/package-lock.json index 9f32b46..d71bd21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "echarts-gl": "^2.0.9", "echarts-liquidfill": "^3.1.0", "element-plus": "^2.7.0", + "hls.js": "^1.5.15", "sass": "^1.60.0", "video.js": "^8.17.3", "videojs-contrib-hls": "^5.15.0", @@ -769,6 +770,11 @@ "node": ">= 0.4.0" } }, + "node_modules/hls.js": { + "version": "1.5.15", + "resolved": "https://registry.npmmirror.com/hls.js/-/hls.js-1.5.15.tgz", + "integrity": "sha512-6cD7xN6bycBHaXz2WyPIaHn/iXFizE5au2yvY5q9aC4wfihxAr16C9fUy4nxh2a3wOw0fEgLRa9dN6wsYjlpNg==" + }, "node_modules/immutable": { "version": "4.3.0", "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.0.tgz", diff --git a/package.json b/package.json index 2deb1d1..183334f 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "echarts-gl": "^2.0.9", "echarts-liquidfill": "^3.1.0", "element-plus": "^2.7.0", + "hls.js": "^1.5.15", "sass": "^1.60.0", "video.js": "^8.17.3", "videojs-contrib-hls": "^5.15.0", diff --git a/src/main.js b/src/main.js index 8518f21..174c810 100644 --- a/src/main.js +++ b/src/main.js @@ -7,6 +7,7 @@ import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import './assets/css/common.css' import zhCn from 'element-plus/dist/locale/zh-cn.mjs' + createApp(App).use(router).use(ElementPlus,{ locale: zhCn, }).mount('#app') diff --git a/src/view/dialog/dialogCamera.vue b/src/view/dialog/dialogCamera.vue index 6788a04..bff7ada 100644 --- a/src/view/dialog/dialogCamera.vue +++ b/src/view/dialog/dialogCamera.vue @@ -63,10 +63,13 @@