提交 fe26aacf 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

adjust code struct

上级 221a7e0c
......@@ -60,12 +60,12 @@ export default class ZtfApp {
}
};
async openOrCreateWindow() {
openOrCreateWindow() {
const mainWin = this._windows.get('main');
if (mainWin) {
this.showAndFocus(mainWin)
} else {
await this.createWindow();
this.createWindow();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册