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
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
2 changed files with 3 additions and 9 deletions

View File

@ -64,13 +64,7 @@
<a href="https://www.google.cn/chrome/">Google Chrome</a> <a href="https://www.google.cn/chrome/">Google Chrome</a>
<a href="https://www.firefox.com.cn/">Mozilla Firefox</a> <a href="https://www.firefox.com.cn/">Mozilla Firefox</a>
</strong> </strong>
<script>
window.onload = function () {
document.getElementById("loader-mask").remove();
};
</script>
</div> </div>
<div id="app"></div> <div id="app"></div>
<!-- built files will be auto injected -->
</body> </body>
</html> </html>

View File

@ -108,7 +108,7 @@
}, },
methods: { methods: {
finishLoad() { finishLoad() {
document.getElementById("loader-mask").remove();
this.$notify.info({ this.$notify.info({
title: '离线使用', title: '离线使用',
message: "音乐解锁加载成功。我们使用PWA技术可以添加到桌面或收藏夹无网络状况下也能使用。", message: "音乐解锁加载成功。我们使用PWA技术可以添加到桌面或收藏夹无网络状况下也能使用。",
@ -150,13 +150,13 @@
mime: data.mime mime: data.mime
}; };
console.log(data); console.log(data);
_paq.push(["trackEvent", "Unlock", "Success", JSON.stringify(_rp_data)]); window._paq.push(["trackEvent", "Unlock", "Success", JSON.stringify(_rp_data)]);
} else { } else {
this.$notify.error({ this.$notify.error({
title: '错误', title: '错误',
message: '解析此文件时出现问题' message: '解析此文件时出现问题'
}); });
_paq.push(["trackEvent", "Unlock", "Error", file.name]); window._paq.push(["trackEvent", "Unlock", "Error", file.name]);
} }