fix: 运行状态播放组件添加

This commit is contained in:
100011797 2023-03-23 15:27:59 +08:00
parent 83284569aa
commit dead9c5b46
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@
<j-image :src="value?.formatValue" />
</template>
<template v-else-if="['.flv', '.m3u8', '.mp4'].includes(type)">
<LivePlayer :url="value?.formatValue" autoplay />
</template>
<template v-else>
<JsonViewer
@ -25,6 +26,7 @@
<script lang="ts" setup>
import JsonViewer from 'vue-json-viewer';
import LivePlayer from '@/components/Player/index.vue';
const _data = defineProps({
type: {