|
@@ -102,7 +102,7 @@ export default {
|
|
_this.curTime = time;
|
|
_this.curTime = time;
|
|
_this.stopAudio = true
|
|
_this.stopAudio = true
|
|
_this.$refs.audioLine.onTimeupdateTime(time / 1000, true);
|
|
_this.$refs.audioLine.onTimeupdateTime(time / 1000, true);
|
|
- _this.ed = edTime / 1000
|
|
|
|
|
|
+ _this.ed = edTime
|
|
},
|
|
},
|
|
getCurTime(curTime) {
|
|
getCurTime(curTime) {
|
|
this.curTime = curTime * 1000;
|
|
this.curTime = curTime * 1000;
|
|
@@ -113,6 +113,9 @@ export default {
|
|
clearInterval(this.timer);
|
|
clearInterval(this.timer);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ emptyEd(){
|
|
|
|
+ this.ed = null;
|
|
|
|
+ }
|
|
},
|
|
},
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
created() {
|
|
created() {
|