From ac574ab4f7606a9305cd2f6c139aefaaa3591fbf Mon Sep 17 00:00:00 2001 From: DebugIsFalse <511418503@qq.com> Date: Tue, 21 May 2024 13:34:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=AF=E6=8C=81query?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/search/[id].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/search/[id].vue b/pages/search/[id].vue index 37770be..7d001e6 100644 --- a/pages/search/[id].vue +++ b/pages/search/[id].vue @@ -164,8 +164,8 @@ const state = reactive({ query: route.query.query || '', repo: route.query.repo || '', id: route.params.id, - branch: repoItem.branch, - gitPath: repoItem.url + branch: route.query.branch || repoItem.branch, + gitPath: route.query.gitPath || repoItem.url }) useHead({ -- GitLab