mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:23:18 -08:00
调整设置弹窗条件
This commit is contained in:
1 parent
9029db9476
commit
d0fdab870d
8 files changed
+26
-25
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ class Artplayer extends Emitter {
|
||||
quality: [],
|
||||
loading: '',
|
||||
theme: '#f00',
|
||||
setting: true,
|
||||
setting: false,
|
||||
hotkey: true,
|
||||
pip: true,
|
||||
fullscreen: true,
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user