From 1020d78b91d636c3a6e5ab6a94f7e3d007f6ff3a Mon Sep 17 00:00:00 2001 From: liumangmang Date: Fri, 20 Mar 2026 15:50:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=90=9C=E7=B4=A2=E8=AF=8D=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E5=88=B0=20URL=20=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 搜索词现在会同步到 URL 查询参数 ?q=xxx,刷新页面后保留搜索状态。 -连接列表页 () - 监听 URL 查询参数变化,初始化搜索框 - 搜索InputChange 时更新 URL - 清空搜索时移除 URL 查询参数 --- frontend/src/views/ConnectionsView.vue | 72 +++++++++++++++----------- 1 file changed, 43 insertions(+), 29 deletions(-) diff --git a/frontend/src/views/ConnectionsView.vue b/frontend/src/views/ConnectionsView.vue index 7ebdb3d..b79b120 100644 --- a/frontend/src/views/ConnectionsView.vue +++ b/frontend/src/views/ConnectionsView.vue @@ -1,6 +1,6 @@