Commit cee72a9b authored by mercury233's avatar mercury233

scroll to top when deleting app

parent ef858e53
......@@ -141,6 +141,7 @@ export class AppDetailComponent implements OnInit, OnChanges {
async uninstall(app: App) {
if (confirm('确认删除?')) {
this.el.nativeElement.scrollTo(0, 0);
try {
await this.appsService.uninstall(app);
} catch (e) {
......
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