修复工作

This commit is contained in:
2025-10-02 15:20:41 +08:00
parent 7a31bf7c2a
commit dfc0baff58

View File

@@ -42,15 +42,15 @@
<script setup name="Flv">
import {useRoute} from 'vue-router'
import {ref, onMounted} from 'vue';
import {ref, onMounted, getCurrentInstance} from 'vue';
import 'xgplayer';
import FlvJsPlayer from 'xgplayer-flv.js';
import CusPlayer from './cusPlayer.vue';
import JpegPlayer from './jpegPlayer.vue';
import {getDevice} from "@/api/video/device";
const {proxy} = getCurrentInstance();
const {device_type} = proxy.useDict('device_type');
const { proxy } = getCurrentInstance();
const { device_type } = proxy.useDict('device_type');
const route = useRoute();