update:合并main分支

This commit is contained in:
hrz
2025-04-03 23:06:59 +08:00
parent aa34473560
commit c8a3d378b7
219 changed files with 9105 additions and 2972 deletions
+9 -3
View File
@@ -38,7 +38,7 @@
/>
</div>
</div>
<div style="font-size: 12px;font-weight: 400;margin-top: auto;padding-top: 30px;color: #979db1;">
<div class="copyright">
©2025 xiaozhi-esp32-server
</div>
<AddWisdomBodyDialog :visible.sync="addDeviceDialogVisible" @confirm="handleWisdomBodyAdded" />
@@ -109,10 +109,16 @@ export default {
import('@/apis/module/agent').then(({ default: userApi }) => {
userApi.deleteAgent(agentId, (res) => {
if (res.data.code === 0) {
this.$message.success('删除成功');
this.$message.success({
message: '删除成功',
showClose: true
});
this.fetchAgentList(); // 刷新列表
} else {
this.$message.error(res.data.msg || '删除失败');
this.$message.error({
message: res.data.msg || '删除失败',
showClose: true
});
}
});
});