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,
|
"height": 800,
|
||||||
"center": true,
|
"center": true,
|
||||||
"decorations": true,
|
"decorations": true,
|
||||||
"closable": false
|
"closable": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -429,8 +429,7 @@ class TGClient {
|
|||||||
async closePage(): Promise<void> {
|
async closePage(): Promise<void> {
|
||||||
this.route.pop();
|
this.route.pop();
|
||||||
if (this.route.length === 0) {
|
if (this.route.length === 0) {
|
||||||
await this.open("");
|
await this.window?.close();
|
||||||
await this.window?.hide();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const url = this.route[this.route.length - 1];
|
const url = this.route[this.route.length - 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user