mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🐛 我真傻,真的
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
"height": 800,
|
||||
"center": true,
|
||||
"decorations": true,
|
||||
"closable": false
|
||||
"closable": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -429,8 +429,7 @@ class TGClient {
|
||||
async closePage(): Promise<void> {
|
||||
this.route.pop();
|
||||
if (this.route.length === 0) {
|
||||
await this.open("");
|
||||
await this.window?.hide();
|
||||
await this.window?.close();
|
||||
return;
|
||||
}
|
||||
const url = this.route[this.route.length - 1];
|
||||
|
||||
Reference in New Issue
Block a user