JutarryWu 3 kuukautta sitten
vanhempi
commit
9fb8a63fb9
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      src/views/CognitiveAbilityTask/lexicalAssociation.vue

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

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