Commit 8f0f08ac authored by IvyXia123's avatar IvyXia123

setTimeout

parent e23d775f
...@@ -174,6 +174,7 @@ ...@@ -174,6 +174,7 @@
}); });
}, },
audioFn(){ audioFn(){
let _that= this
setTimeout(() => { setTimeout(() => {
if (this.$store.state.lookStatus == 0) { if (this.$store.state.lookStatus == 0) {
this.audioPoint = audioGood; this.audioPoint = audioGood;
...@@ -183,9 +184,10 @@ ...@@ -183,9 +184,10 @@
this.audioPoint = audioPerfect; this.audioPoint = audioPerfect;
} }
this.$refs.audioDom.load(); this.$refs.audioDom.load();
setTimeout(() => {
this.$refs.audioDom.play(); /* setTimeout(() => {
}, 100); this.$refs.audioDom.play()
}, 100);*/
}, 300); }, 300);
}, },
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment