|  | @@ -108,7 +108,14 @@
 | 
	
		
			
				|  |  |  import Recorder from "js-audio-recorder"; // 录音插件
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    components: {},
 | 
	
		
			
				|  |  | -  props: ["wavData", "type", "fileName", "selectData", "tmIndex"],
 | 
	
		
			
				|  |  | +  props: [
 | 
	
		
			
				|  |  | +    "wavData",
 | 
	
		
			
				|  |  | +    "type",
 | 
	
		
			
				|  |  | +    "fileName",
 | 
	
		
			
				|  |  | +    "selectData",
 | 
	
		
			
				|  |  | +    "tmIndex",
 | 
	
		
			
				|  |  | +    "answerRecordList",
 | 
	
		
			
				|  |  | +  ],
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        recorder: new Recorder({
 | 
	
	
		
			
				|  | @@ -136,6 +143,7 @@ export default {
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  |      this.handleActive();
 | 
	
		
			
				|  |  |      let that = this;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      window.stopAudioSound = function () {
 | 
	
		
			
				|  |  |        if (that.audio) {
 | 
	
		
			
				|  |  |          that.audio.pause();
 | 
	
	
		
			
				|  | @@ -145,6 +153,12 @@ export default {
 | 
	
		
			
				|  |  |    // 生命周期 - 挂载完成(可以访问DOM元素)
 | 
	
		
			
				|  |  |    mounted() {
 | 
	
		
			
				|  |  |      let _this = this;
 | 
	
		
			
				|  |  | +    _this.recordList = JSON.parse(JSON.stringify(_this.answerRecordList));
 | 
	
		
			
				|  |  | +    console.log(_this.recordList);
 | 
	
		
			
				|  |  | +    if (_this.recordList.length > 0) {
 | 
	
		
			
				|  |  | +      _this.selectIndex = 0;
 | 
	
		
			
				|  |  | +      _this.handleChangeRecord(0);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |      _this.audio.addEventListener("play", function () {
 | 
	
		
			
				|  |  |        _this.changeStatus("active");
 | 
	
		
			
				|  |  |        _this.isPlaying = true;
 | 
	
	
		
			
				|  | @@ -243,6 +257,7 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      playmicrophone(totalTimes) {
 | 
	
		
			
				|  |  | +      debugger;
 | 
	
		
			
				|  |  |        if (this.hasMicro) {
 | 
	
		
			
				|  |  |          this.isPlaying = true;
 | 
	
		
			
				|  |  |          if (this.selectIndex || this.selectIndex == 0) {
 |