分离template

This commit is contained in:
Harvey Zack committed 2018-11-28 12:15:33 +08:00
1 parent e96146b19f
commit 3fb41eedf7
39 files changed
+277 -256

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { clamp, sleep } from '../utils';
export default function attrInit(art, player) {
const {
option,
refs: { $video },
template: { $video },
} = art;
Object.keys(option.moreVideoAttr).forEach(key => {
$video[key] = option.moreVideoAttr[key];