Fix Display Bugs In Edge and Safari

This commit is contained in:
MengYX
2019-09-21 23:32:21 +08:00
parent 0913337612
commit 757d4d4847
2 changed files with 3 additions and 9 deletions

View File

@ -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]);
}