add skip inactive switch and use rrweb timer to display current time

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent c34d9523b5
commit 357d18c0dd
5 changed files with 123 additions and 15 deletions

View File

@@ -46,6 +46,7 @@
const replayer = new Replayer(events, {
speed: 1,
root: this.refs.frame,
skipInactive: true,
});
replayer.on('resize', (dimension) =>
this.updateScale(replayer.wrapper, dimension)