修改vue3-video-play组件导入

This commit is contained in:
lewis 2025-08-21 09:50:02 +08:00
parent 4790071e14
commit 459617a344

View File

@ -15,7 +15,8 @@
<script setup lang="ts">
import { reactive, shallowRef } from 'vue'
import 'vue3-video-play/dist/style.css'
import VideoPlay from 'vue3-video-play'
// import VideoPlay from '/vue3-video-play'
import VideoPlay from 'vue3-video-play/dist/index.umd.js'
const props = defineProps({
src: {
type: String,