提交 a3fabe25 编写于 作者: D DebugIsFalse

Update [id].vue

上级 412bdd43
...@@ -128,7 +128,7 @@ const handleReGenerate = () => { ...@@ -128,7 +128,7 @@ const handleReGenerate = () => {
} }
// git url // git url
const baseGitUrl = () => { function baseGitUrl() {
const endWidthGit = state.gitPath.endsWith('.git') const endWidthGit = state.gitPath.endsWith('.git')
const baseUrl = endWidthGit ? state.gitPath.slice(0, state.gitPath.length - 4) : state.gitPath const baseUrl = endWidthGit ? state.gitPath.slice(0, state.gitPath.length - 4) : state.gitPath
return baseUrl return baseUrl
...@@ -281,6 +281,8 @@ useHead({ ...@@ -281,6 +281,8 @@ useHead({
onMounted( () => { onMounted( () => {
if (data.value.length === 0 && state.query) { if (data.value.length === 0 && state.query) {
generateFetchData(state.query) generateFetchData(state.query)
} else {
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册