From cc96eaeb8f049c3a5d5e2c3f4321882d36e172c4 Mon Sep 17 00:00:00 2001 From: LJH-rgsze <3241304429@qq.com> Date: Mon, 5 Jan 2026 10:13:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/manager-web/src/views/home.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/manager-web/src/views/home.vue b/main/manager-web/src/views/home.vue index e4e8db46..a1d58805 100644 --- a/main/manager-web/src/views/home.vue +++ b/main/manager-web/src/views/home.vue @@ -141,7 +141,8 @@ export default { }, handleSearchReset() { this.isSearching = false; - this.fetchAgentList(); + // 直接将原始设备列表赋值给显示设备列表,避免重新加载数据 + this.devices = [...this.originalDevices]; }, // 搜索更新智能体列表 @@ -164,7 +165,8 @@ export default { 10 // 最多10个 ); - this.handleSearchReset(); + // 将原始设备列表赋值给显示设备列表 + this.devices = [...this.originalDevices]; } this.isLoading = false; }, (error) => {