diff --git a/common/common.js b/common/common.js index 07a78c8..2af2752 100644 --- a/common/common.js +++ b/common/common.js @@ -153,6 +153,8 @@ $(function () { baseData.public_security_network_preparation_link; baseData.telecom_appreciation = cfg.telecom_appreciation || baseData.telecom_appreciation; + baseData.copyright_info = + cfg.copyright_info || baseData.copyright_info; baseData.cloud_product_link = cfg.cloud_product_link || baseData.cloud_product_link; baseData.dcim_product_link = diff --git a/plugins/addon/theme_configurator/template/admin/index.html b/plugins/addon/theme_configurator/template/admin/index.html index 6ce24aa..e8cdb74 100644 --- a/plugins/addon/theme_configurator/template/admin/index.html +++ b/plugins/addon/theme_configurator/template/admin/index.html @@ -275,7 +275,7 @@ 新增浮窗 - +

用于暂未在 UI 中开放的配置项(如复杂导航结构 header_nav/footer_nav 等)。如非必要,建议优先使用上方表单编辑。

@@ -287,8 +287,11 @@
- 重新加载 - 保存全部配置 + 重新加载 + 保存全部配置 + + {{ showAdvanced ? '隐藏高级 JSON' : '显示高级 JSON' }} +
@@ -351,6 +354,7 @@ saving: false, fullConfig: createDefaultConfig(), advancedText: "", + showAdvanced: false, }; }, computed: { @@ -420,7 +424,7 @@ }); }, syncJson() { - this.advancedText = JSON.stringify(this.fullConfig, null, 2); + this.advancedText = JSON.stringify(this.fullConfig, null, 2); }, applyAdvanced() { if (!this.advancedText.trim()) {