feat: require agent name confirmation before delete

This commit is contained in:
Tyke Chen
2026-07-09 15:03:12 +08:00
parent 8808b69303
commit 9301c1889f
17 changed files with 597 additions and 41 deletions
@@ -96,7 +96,7 @@ export default {
},
methods: {
handleDelete() {
this.$emit('delete', this.device.agentId)
this.$emit('delete', this.device)
},
handleConfigure() {
this.$router.push({ path: '/role-config', query: { agentId: this.device.agentId } });
@@ -212,4 +212,4 @@ export default {
.device-item-tooltip[x-placement^="bottom"] .popper__arrow {
border-bottom-color: transparent !important;
}
</style>
</style>