fixed: 解决点击跳过闪退
Change-Id: I476c1a8bf6b65aed2d314b41e7898d2fd58fd0f7
This commit is contained in:
parent
4b4477794a
commit
9f3186701f
|
@ -1375,8 +1375,9 @@ export class CodeApplication extends Disposable {
|
||||||
await new Promise((resolve, reject) => {
|
await new Promise((resolve, reject) => {
|
||||||
DeployMainService.openDeployWindow().then(() => {
|
DeployMainService.openDeployWindow().then(() => {
|
||||||
resolve(void 0);
|
resolve(void 0);
|
||||||
}).catch(() => {
|
}).catch((error) => {
|
||||||
reject(-1);
|
console.log(error);
|
||||||
|
resolve(-1);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue