fixed: 解决点击跳过闪退

Change-Id: I476c1a8bf6b65aed2d314b41e7898d2fd58fd0f7
This commit is contained in:
dinglili 2024-08-01 17:23:48 +08:00 committed by wangpenglong
parent 4b4477794a
commit 9f3186701f
1 changed files with 3 additions and 2 deletions

View File

@ -1375,8 +1375,9 @@ export class CodeApplication extends Disposable {
await new Promise((resolve, reject) => {
DeployMainService.openDeployWindow().then(() => {
resolve(void 0);
}).catch(() => {
reject(-1);
}).catch((error) => {
console.log(error);
resolve(-1);
})
});
}