diff options
Diffstat (limited to 'components/datalake-handler/admin/src/src/app/views/tools/tools.component.ts')
-rw-r--r-- | components/datalake-handler/admin/src/src/app/views/tools/tools.component.ts | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/components/datalake-handler/admin/src/src/app/views/tools/tools.component.ts b/components/datalake-handler/admin/src/src/app/views/tools/tools.component.ts index ebe33e49..be0d253f 100644 --- a/components/datalake-handler/admin/src/src/app/views/tools/tools.component.ts +++ b/components/datalake-handler/admin/src/src/app/views/tools/tools.component.ts @@ -112,10 +112,10 @@ export class ToolsComponent implements OnInit { dataAction($event) { if($event[0] == "trash"){ - console.log($event, "tools 中触发执行删除操作"); + console.log($event, "tools delete"); this.deleteToolModel($event[1]); }else { - console.log($event, "tools 中触发执行修改操作"); + console.log($event, "tools update"); this.updateToolModel($event[1]); } } @@ -137,7 +137,6 @@ export class ToolsComponent implements OnInit { this.initData(); } else { this.notificationService.error("FAILED_DELETED"); - this.initData(); } modalRef.close(); }, @@ -169,7 +168,6 @@ export class ToolsComponent implements OnInit { this.initData(); } else { this.notificationService.error("FAILED_UPDATED"); - this.initData(); } modalRef.close(); }, @@ -178,7 +176,6 @@ export class ToolsComponent implements OnInit { modalRef.close(); } ); - }) - + }); } } |