diff --git a/api/cms/cmsWebsiteSetting/model/index.ts b/api/cms/cmsWebsiteSetting/model/index.ts index 1f6e30e..795c453 100644 --- a/api/cms/cmsWebsiteSetting/model/index.ts +++ b/api/cms/cmsWebsiteSetting/model/index.ts @@ -9,25 +9,27 @@ export interface CmsWebsiteSetting { // 关联网站ID websiteId?: number; // 是否官方插件 - official?: string; + official?: boolean; // 是否展示在插件市场 - market?: string; + market?: boolean; // 是否允许被搜索 - search?: string; + search?: boolean; // 是否共享 - share?: string; + share?: boolean; // 是否插件 0应用1 插件 - plugin?: string; + plugin?: boolean; // 编辑器类型 1 md-editor-v3, 2 tinymce-editor editor?: number; // 显示站内搜索 - searchBtn?: string; + searchBtn?: boolean; // 显示登录注册功能 - loginBtn?: string; + loginBtn?: boolean; + // 显示语言切换 + langBtn?: boolean; // 显示悬浮客服工具 floatTool?: boolean; // 显示版权链接 - copyrightLink?: string; + copyrightLink?: boolean; // 导航栏最多显示数量 maxMenuNum?: string; // 排序号 diff --git a/components/AppFooter/Copyright/Copyright.vue b/components/AppFooter/Copyright/Copyright.vue index 36ca891..6fabad0 100644 --- a/components/AppFooter/Copyright/Copyright.vue +++ b/components/AppFooter/Copyright/Copyright.vue @@ -5,12 +5,13 @@ const config = useConfigInfo(); diff --git a/components/AppFooter/SubMenu/SubMenu.vue b/components/AppFooter/SubMenu/SubMenu.vue index b42c423..eba5148 100644 --- a/components/AppFooter/SubMenu/SubMenu.vue +++ b/components/AppFooter/SubMenu/SubMenu.vue @@ -1,11 +1,6 @@ - -