添加ready事件

This commit is contained in:
Harvey committed 2019-10-10 11:33:24 +08:00
1 parent d43a71b931
commit a6816d68fa
10 files changed
+42 -51

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ export default class Contextmenu {
constructor(art) {
this.id = 0;
this.art = art;
this.art.once('video:canplay', () => {
this.art.on('ready', () => {
this.init();
});