natasha il y a 1 an
Parent
commit
060d3fa06d
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/components/Adult/preview/AudioLine.vue

+ 6 - 0
src/components/Adult/preview/AudioLine.vue

@@ -216,6 +216,12 @@ export default {
           this.audio.loading = true;
           this.count++;
         }
+        setTimeout(() => {
+          if (this.audio.currentTime === 0) {
+            this.$message.warning("音频正在加载中,请稍后重试");
+          }
+        }, 300);
+
         if (this.hideSlider) {
           this.$refs[audioId].play();
           this.onTimeupdateTime(this.bg / 1000);