Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: params value

shuaie8034334fb91
diff --git a/ui/src/router/pathFactory.ts b/ui/src/router/pathFactory.ts
index e26636aa..acf6b690 100644
--- a/ui/src/router/pathFactory.ts
+++ b/ui/src/router/pathFactory.ts
@@ -20,7 +20,7 @@ const tagEdit = (tagId: string) => {
const questionLanding = (questionId: string, slugTitle: string = '') => {
const { seo } = seoSettingStore.getState();
if (!questionId) {
- return slugTitle ? `/questions/null/slugTitle` : '/questions/null';
+ return slugTitle ? `/questions/null/${slugTitle}` : '/questions/null';
}
// @ts-ignore
if (/[13]/.test(seo.permalink) && slugTitle) {