JutarryWu hace 3 meses
padre
commit
9fb8a63fb9
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/views/CognitiveAbilityTask/lexicalAssociation.vue

+ 4 - 4
src/views/CognitiveAbilityTask/lexicalAssociation.vue

@@ -718,10 +718,10 @@
 
                                 if(type === 1) {
                                     this.complete = false;
-                                    // this.icon1 = "el-icon-video-play";
+                                    this.icon1 = "el-icon-video-play"
                                 }else {
                                     this.showButton = true;
-                                    // this.icon2 = "el-icon-video-play";
+                                    this.icon2 = "el-icon-video-play"
                                 }
 
                             }
@@ -742,7 +742,7 @@
                 // setTimeout(function () {
                 //     _this.complete = false;
                 // }, 20000);
-              this.icon1 = this.icon1 === 'el-icon-video-play' ? 'el-icon-video-pause' : 'el-icon-video-play';
+              this.icon1 = 'el-icon-video-pause'
 
                 this.handlePlay(this.logicAudioArr,1);
             },
@@ -757,7 +757,7 @@
                 // setTimeout(function () {
                 //     _this.showButton = true;
                 // }, 20000);
-              this.icon2 = this.icon2 === 'el-icon-video-play' ? 'el-icon-video-pause' : 'el-icon-video-play';
+              this.icon2 = 'el-icon-video-pause'
 
                 this.handlePlay(this.nologicAudioArr,2);