diff --git a/src/adaptors/web/flowus/flowusConfig.ts b/src/adaptors/web/flowus/flowusConfig.ts index 4ec6b77b..89e90d90 100644 --- a/src/adaptors/web/flowus/flowusConfig.ts +++ b/src/adaptors/web/flowus/flowusConfig.ts @@ -35,7 +35,7 @@ class FlowusConfig extends CommonWebConfig { this.previewUrl = "/p/[postid]" this.pageType = PageTypeEnum.Markdown this.passwordType = PasswordType.PasswordType_Cookie - this.usernameEnabled = true + this.usernameEnabled = false this.tagEnabled = false this.cateEnabled = false this.knowledgeSpaceEnabled = true diff --git a/src/components/set/publish/singleplatform/SingleSettingIndex.vue b/src/components/set/publish/singleplatform/SingleSettingIndex.vue index a96d8e20..3c99310a 100644 --- a/src/components/set/publish/singleplatform/SingleSettingIndex.vue +++ b/src/components/set/publish/singleplatform/SingleSettingIndex.vue @@ -66,6 +66,7 @@ const subtype = getSubPlatformTypeByKey(apiType) + diff --git a/src/components/set/publish/singleplatform/web/FlowusSetting.vue b/src/components/set/publish/singleplatform/web/FlowusSetting.vue new file mode 100644 index 00000000..fba0a990 --- /dev/null +++ b/src/components/set/publish/singleplatform/web/FlowusSetting.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/src/locales/en_US.ts b/src/locales/en_US.ts index 69ad1168..55bd4335 100644 --- a/src/locales/en_US.ts +++ b/src/locales/en_US.ts @@ -460,6 +460,11 @@ export default { "setting.halo.apiUrl.tip": "Halo blog API address, typically the same as the Halo homepage", "setting.halo.previewUrl.tip": "Halo blog article preview rule, default /archives/{slug}, with placeholders {slug} {name} {year} {month} {day}, can be set in [halo-home-url]/console/settings?tab=routeRules", + "setting.flowus.home.tip": "Flowus homepage address, usually fixed", + "setting.flowus.password.tip": "Flowus cookie, do not modify", + "setting.flowus.apiUrl.tip": "Usually fixed, do not modify", + "setting.flowus.previewUrl.tip": "Flowus platform article preview rules", + "setting.picgo.refer.to": "For details, please refer to:", "setting.picgo.refer.to.online.doc": "Picgo configuration online documentation", "setting.picgo.picbed": "Picbed setting", diff --git a/src/locales/zh_CN.ts b/src/locales/zh_CN.ts index aa3cee90..f1071c94 100644 --- a/src/locales/zh_CN.ts +++ b/src/locales/zh_CN.ts @@ -455,6 +455,11 @@ export default { "setting.halo.previewUrl.tip": "Halo博客文章预览规则,默认 /archives/{slug},占位符有 {slug} {name} {year} {month} {day},可在 [halo-home-url]/console/settings?tab=routeRules设置", + "setting.flowus.home.tip": "Flowus首页地址,通常固定", + "setting.flowus.password.tip": "Flowus的Cookie,请勿修改", + "setting.flowus.apiUrl.tip": "通常固定,请勿修改", + "setting.flowus.previewUrl.tip": "Flowus平台文章预览规则", + "setting.picgo.refer.to": "详情请参考:", "setting.picgo.refer.to.online.doc": "PicGO配置在线文档", "setting.picgo.picbed": "图床设置",