mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 22:38:49 +01:00
🎨 mobile
This commit is contained in:
parent
6950bbaf6d
commit
e782774acf
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ export class Model {
|
|||
window.errorStack = []
|
||||
}
|
||||
window.errorStack.push({onclose: ev})
|
||||
console.log(window.errorStack)
|
||||
if (0 <= ev.reason.indexOf("unauthenticated")) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -85,6 +86,7 @@ export class Model {
|
|||
window.errorStack = []
|
||||
}
|
||||
window.errorStack.push({"onerror": err})
|
||||
console.log(window.errorStack)
|
||||
if (err.target.url.endsWith("&type=main") && err.target.readyState === 3) {
|
||||
kernelError();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue