mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
separate variable constants
This commit is contained in:
1 parent
57a14f63ac
commit
fc3abd7d1d
20 files changed
+143
-80
No files matched your search
@@ -14,6 +14,7 @@ export default class Info extends Component {
|
||||
|
||||
init() {
|
||||
const {
|
||||
constructor,
|
||||
events: { proxy },
|
||||
template: { $infoPanel, $infoClose, $video },
|
||||
} = this.art;
|
||||
@@ -38,7 +39,7 @@ export default class Info extends Component {
|
||||
item.innerText = innerText;
|
||||
}
|
||||
}
|
||||
timer = setTimeout(loop, 1000);
|
||||
timer = setTimeout(loop, constructor.INFO_LOOP_TIME);
|
||||
}
|
||||
|
||||
loop();
|
||||
|
||||
Reference in new issue
Block a user