完成删除智能体

This commit is contained in:
CGD
2025-03-24 09:16:48 +08:00
parent 19455f89d3
commit b59c097bca
4 changed files with 55 additions and 7 deletions
@@ -6,7 +6,7 @@
</div>
<div>
<img src="@/assets/home/delete.png" alt=""
style="width: 18px;height: 18px;margin-right: 10px;" />
style="width: 18px;height: 18px;margin-right: 10px;" @click.stop="handleDelete" />
<img src="@/assets/home/info.png" alt="" style="width: 18px;height: 18px;" />
</div>
</div>
@@ -44,6 +44,11 @@ export default {
},
data() {
return { switchValue: false }
},
methods: {
handleDelete() {
this.$emit('delete', this.device.agentId)
}
}
}
</script>