Commit 2165d969 authored by mercury233's avatar mercury233

fix import fail status reset

parent e9636c2d
...@@ -237,6 +237,8 @@ export class AppDetailComponent implements OnInit, OnChanges { ...@@ -237,6 +237,8 @@ export class AppDetailComponent implements OnInit, OnChanges {
catch (e) { catch (e) {
console.error(e); console.error(e);
new Notification(targetApp.name, {body: '导入时解压失败 ' + e.message}); new Notification(targetApp.name, {body: '导入时解压失败 ' + e.message});
targetApp.reset();
return;
} }
} }
// TODO: 执行依赖和references安装 // TODO: 执行依赖和references安装
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment