fix: 修复使用视频组件时保存画板缩略图的异常

This commit is contained in:
tnt group 2022-09-19 16:12:35 +08:00
parent fa0c570f90
commit 58033530c1

View File

@ -1,9 +1,11 @@
<!-- eslint-disable vue/multi-word-component-names -->
<template>
<!-- 重要需要设置 crossOrigin="anonymous"否则保存画板缩略图会失败 -->
<video
ref="vVideoRef"
class="go-video"
preload="auto"
crossOrigin="anonymous"
playsinline
:loop="option.loop"
:autoplay="option.autoplay"