修复工作
This commit is contained in:
@@ -42,15 +42,15 @@
|
|||||||
|
|
||||||
<script setup name="Flv">
|
<script setup name="Flv">
|
||||||
import {useRoute} from 'vue-router'
|
import {useRoute} from 'vue-router'
|
||||||
import {ref, onMounted} from 'vue';
|
import {ref, onMounted, getCurrentInstance} from 'vue';
|
||||||
import 'xgplayer';
|
import 'xgplayer';
|
||||||
import FlvJsPlayer from 'xgplayer-flv.js';
|
import FlvJsPlayer from 'xgplayer-flv.js';
|
||||||
import CusPlayer from './cusPlayer.vue';
|
import CusPlayer from './cusPlayer.vue';
|
||||||
import JpegPlayer from './jpegPlayer.vue';
|
import JpegPlayer from './jpegPlayer.vue';
|
||||||
import {getDevice} from "@/api/video/device";
|
import {getDevice} from "@/api/video/device";
|
||||||
|
|
||||||
const {proxy} = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
const {device_type} = proxy.useDict('device_type');
|
const { device_type } = proxy.useDict('device_type');
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user