|
@@ -127,14 +127,7 @@ export default {
|
|
|
mounted() {
|
|
|
let _this = this;
|
|
|
let audioId = _this.audioId;
|
|
|
- _this.$refs[audioId].addEventListener("loadstart", function () {
|
|
|
- _this.loading = _this.$loading({
|
|
|
- lock: true,
|
|
|
- text: "Loading",
|
|
|
- spinner: "el-icon-loading",
|
|
|
- background: "rgba(0, 0, 0, 0.7)",
|
|
|
- });
|
|
|
- });
|
|
|
+ _this.$refs[audioId].addEventListener("loadstart", function () {});
|
|
|
_this.$refs[audioId].addEventListener("play", function () {
|
|
|
_this.audio.playing = true;
|
|
|
_this.audio.isPlaying = true;
|
|
@@ -209,7 +202,6 @@ export default {
|
|
|
let _this = this;
|
|
|
// setTimeout(() => {
|
|
|
_this.audio.loading = false;
|
|
|
- _this.loading.close();
|
|
|
|
|
|
// }, 10000);
|
|
|
},
|