修复全屏的回调问题

This commit is contained in:
Harvey Zack committed 2018-11-05 17:16:23 +08:00
1 parent 1616d67bce
commit 8d5ba73b0b
8 files changed
+65 -45

No files matched your search

-1
View File
@@ -3,7 +3,6 @@ import { setStyle, sublings } from '../utils';
export default function aspectRatioMix(art, player) {
Object.defineProperty(player, 'aspectRatio', {
value: ratio => {
console.log(1);
const { refs: { $video, $player }, i18n, notice } = art;
const ratioName = ratio.length === 2 ? `${ratio[0]}:${ratio[1]}` : i18n.get('Default');