mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
Fix mobile event
This commit is contained in:
1 parent
5c4d71cc7a
commit
53da53c35a
7 files changed
+175
-112
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { queryAll } from './utils';
|
||||
import { queryAll, isMobile } from './utils';
|
||||
import Component from './utils/component';
|
||||
|
||||
export default class Info extends Component {
|
||||
@@ -6,7 +6,9 @@ export default class Info extends Component {
|
||||
super(art);
|
||||
this.name = 'info';
|
||||
art.once('ready', () => {
|
||||
this.init();
|
||||
if (!isMobile) {
|
||||
this.init();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user