调整设置弹窗条件

This commit is contained in:
Harvey Zack committed 2018-11-02 16:56:52 +08:00
1 parent 9029db9476
commit d0fdab870d
8 files changed
+26 -25

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ class Artplayer extends Emitter {
quality: [],
loading: '',
theme: '#f00',
setting: true,
setting: false,
hotkey: true,
pip: true,
fullscreen: true,
+2 -2
View File
@@ -7,10 +7,10 @@ export default class Setting {
this.art = art;
this.isOpen = false;
this.$settings = [];
this.art.on('firstCanplay', () => {
if (art.option.setting) {
this.init();
this.mount();
});
}
}
init() {