Update main.js

This commit is contained in:
✨小透明・宸✨
2021-11-16 08:39:38 +08:00
parent e170d4c3bf
commit 2d0f999245

View File

@@ -518,8 +518,8 @@ document.getElementById('generate').addEventListener('click', function () {
}).catch(function (error) {
mdui.alert(''
+ '<div class="mdui-typo">'
+ '<p>错误信息:</p>'
+ '<pre>' + error + '</pre>'
+ '<p>' + error + '</p>'
+ '<pre>' + error.stack + '</pre>'
+ '<p>你可以通过 <a href="https://github.com/TransparentLC/WechatMomentScreenshot/issues" target="_blank">Issue</a> 向作者反馈 BUG</p>'
+ '</div>',
'生成失败'