diff --git a/plugins/addon/theme_configurator/template/admin/index.html b/plugins/addon/theme_configurator/template/admin/index.html index a29b7b1..1c93c95 100644 --- a/plugins/addon/theme_configurator/template/admin/index.html +++ b/plugins/addon/theme_configurator/template/admin/index.html @@ -700,6 +700,11 @@ const container = document.getElementById('headerNavList'); if (!container) return; + // 确保navs是数组 + if (!Array.isArray(navs)) { + navs = []; + } + let html = `