fix: show error bug.
This commit is contained in:
parent
98fc7e4aa3
commit
0a3d5216f5
|
@ -91,7 +91,8 @@ new Promise(resolve => {
|
||||||
script.async = true
|
script.async = true
|
||||||
script.onerror = (event) => {
|
script.onerror = (event) => {
|
||||||
console.error(event)
|
console.error(event)
|
||||||
const message = `您使用的浏览器或无名杀客户端加载内容失败!\n报错内容: \n${event}\n若该BUG不为您个人原因造成的,请及时反馈给无名杀开发组!`;
|
const message = `您使用的浏览器或无名杀客户端加载内容失败!\n请检查游戏环境以及"(游戏根目录)/game/entry.js"文件的位置\n若该BUG不为您个人原因造成的,请及时反馈给无名杀开发组!`;
|
||||||
|
console.error(message);
|
||||||
alert(message);
|
alert(message);
|
||||||
exit()
|
exit()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue