|
@@ -835,13 +835,12 @@ export default {
|
|
|
},
|
|
|
|
|
|
handleChangeTime({ begin_time, end_time }) {
|
|
|
- let _this = this;
|
|
|
if (this.unWatch) this.unWatch();
|
|
|
this.handleParentPlay();
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.audioLine.onTimeupdateTime(begin_time / 1000);
|
|
|
setTimeout(() => {
|
|
|
- _this.$refs.audioLine.PlayAudio();
|
|
|
+ this.$refs.audioLine.PlayAudio();
|
|
|
});
|
|
|
|
|
|
// 监听是否已到结束时间,为了选中效果 - 0.01
|
|
@@ -853,6 +852,9 @@ export default {
|
|
|
this.$refs.audioLine.onTimeupdateTime(end);
|
|
|
this.unWatch();
|
|
|
this.unWatch = null;
|
|
|
+ if (this.isRepeat) {
|
|
|
+ this.handleChangeTime({ begin_time, end_time });
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
});
|