Skip to content

Commit

Permalink
fix: 🐛 videoPlayer 的实例未赋值
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanYi-Hui committed Dec 12, 2024
1 parent 7b04a6a commit fbd84c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VideoPlayer/src/VideoPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const videoEl = ref<HTMLDivElement>()
const intiPlayer = () => {
if (!unref(videoEl)) return
new Player({
playerRef.value = new Player({
autoplay: false,
...props,
el: unref(videoEl)
Expand Down

0 comments on commit fbd84c6

Please sign in to comment.