mirror of
https://github.com/certd/certd.git
synced 2026-05-15 20:47:31 +08:00
perf(设置): 添加首页启用开关配置
在系统设置中添加首页启用开关配置项,包括前端路由守卫检查、多语言支持和表单配置,以控制是否显示首页
This commit is contained in:
@@ -48,6 +48,7 @@ export type SysPublicSetting = {
|
||||
customFooter?: string;
|
||||
robots?: boolean;
|
||||
aiChatEnabled?: boolean;
|
||||
homePageEnabled?: boolean;
|
||||
|
||||
showRunStrategy?: boolean;
|
||||
|
||||
|
||||
@@ -81,6 +81,7 @@ export const useSettingStore = defineStore({
|
||||
registerEnabled: false,
|
||||
managerOtherUserPipeline: false,
|
||||
icpNo: env.ICP_NO || "",
|
||||
homePageEnabled: true,
|
||||
},
|
||||
installInfo: {
|
||||
siteId: "",
|
||||
|
||||
Reference in New Issue
Block a user