mirror of
https://github.com/paperdash/device-epd.git
synced 2024-11-04 12:00:27 +00:00
#19 use jpg print screen
This commit is contained in:
parent
78bce25472
commit
3791227d13
@ -28,7 +28,7 @@ export default {
|
||||
}),
|
||||
created() {
|
||||
this.playlistRemainingCountdown = this.playlistRemaining;
|
||||
this.device_screen_src = "/current-image?" + Date.now();
|
||||
this.device_screen_src = "/current-image2?q=10&" + Date.now();
|
||||
|
||||
setInterval(() => {
|
||||
if (this.playlistRemainingCountdown > 0) {
|
||||
@ -51,7 +51,7 @@ export default {
|
||||
playlistRemaining(val) {
|
||||
if (val > 0) {
|
||||
this.playlistRemainingCountdown = val;
|
||||
this.device_screen_src = "/current-image?" + Date.now();
|
||||
this.device_screen_src = "/current-image2?q=10&" + Date.now();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user