From 757d4d4847cbdbee697fa8e1fd788d30fd682036 Mon Sep 17 00:00:00 2001 From: MengYX Date: Sat, 21 Sep 2019 23:32:21 +0800 Subject: [PATCH] Fix Display Bugs In Edge and Safari --- public/index.html | 6 ------ src/App.vue | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index 7e76709..5a8d6f1 100644 --- a/public/index.html +++ b/public/index.html @@ -64,13 +64,7 @@ Google Chrome Mozilla Firefox -
- diff --git a/src/App.vue b/src/App.vue index cb7e765..76f2dc9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -108,7 +108,7 @@ }, methods: { finishLoad() { - + document.getElementById("loader-mask").remove(); this.$notify.info({ title: '离线使用', message: "音乐解锁加载成功。我们使用PWA技术,可以添加到桌面或收藏夹,无网络状况下也能使用。", @@ -150,13 +150,13 @@ mime: data.mime }; console.log(data); - _paq.push(["trackEvent", "Unlock", "Success", JSON.stringify(_rp_data)]); + window._paq.push(["trackEvent", "Unlock", "Success", JSON.stringify(_rp_data)]); } else { this.$notify.error({ title: '错误', message: '解析此文件时出现问题' }); - _paq.push(["trackEvent", "Unlock", "Error", file.name]); + window._paq.push(["trackEvent", "Unlock", "Error", file.name]); }