feat: add periodic saving action
This commit is contained in:
parent
861ecf0db1
commit
950ae269c9
@ -103,3 +103,9 @@ export const player = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setInterval(() => {
|
||||||
|
if (player.state.paused === false) {
|
||||||
|
store.dispatch('player/time')
|
||||||
|
}
|
||||||
|
}, 40000)
|
||||||
|
Loading…
Reference in New Issue
Block a user