separate variable constants

This commit is contained in:
Harvey committed 2022-04-27 10:42:07 +08:00
1 parent 57a14f63ac
commit fc3abd7d1d
20 files changed
+143 -80

No files matched your search

+2 -1
View File
@@ -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();