修复工作
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user