|
@@ -198,6 +198,14 @@ export default defineComponent({
|
|
|
plyrState.playIngShow = true
|
|
|
pauseStaff()
|
|
|
});
|
|
|
+ player.on('ended', () => {
|
|
|
+ player.currentTime = 0
|
|
|
+ if(!player.playing){
|
|
|
+ setTimeout(() => {
|
|
|
+ updateProgressStaff(player.currentTime)
|
|
|
+ }, 100);
|
|
|
+ }
|
|
|
+ });
|
|
|
// 处理按压事件
|
|
|
const handleStart = () => {
|
|
|
plyrState.duration = player.duration
|