|
@@ -126,12 +126,6 @@ export default {
|
|
|
let audioId = _this.audioId;
|
|
|
_this.$refs[audioId].addEventListener("loadstart", function () {
|
|
|
console.log("音频开始加载");
|
|
|
- _this.loading = _this.$loading({
|
|
|
- lock: true,
|
|
|
- text: "Loading",
|
|
|
- spinner: "el-icon-loading",
|
|
|
- background: "rgba(0, 0, 0, 0.7)",
|
|
|
- });
|
|
|
});
|
|
|
_this.$refs[audioId].addEventListener("play", function () {
|
|
|
console.log("音频开始播放了");
|
|
@@ -209,7 +203,6 @@ export default {
|
|
|
// setTimeout(() => {
|
|
|
console.log("音频加载完成");
|
|
|
_this.audio.loading = false;
|
|
|
- _this.loading.close();
|
|
|
|
|
|
// }, 10000);
|
|
|
},
|