提交 ac574ab4 编写于 作者: D DebugIsFalse

fix: 支持query

上级 3f2469ea
...@@ -164,8 +164,8 @@ const state = reactive({ ...@@ -164,8 +164,8 @@ const state = reactive({
query: route.query.query || '', query: route.query.query || '',
repo: route.query.repo || '', repo: route.query.repo || '',
id: route.params.id, id: route.params.id,
branch: repoItem.branch, branch: route.query.branch || repoItem.branch,
gitPath: repoItem.url gitPath: route.query.gitPath || repoItem.url
}) })
useHead({ useHead({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册