From 263310f430baa73c23633e189d21530f257386dd Mon Sep 17 00:00:00 2001 From: Erzbir Date: Tue, 16 Jun 2026 10:51:01 +0800 Subject: [PATCH] feat: remove unused feature --- settings.yaml | 13 ------------- templates/modules/layout.html | 12 ------------ 2 files changed, 25 deletions(-) diff --git a/settings.yaml b/settings.yaml index eaa79b5..63e5e80 100644 --- a/settings.yaml +++ b/settings.yaml @@ -17,19 +17,6 @@ spec: label: 启用 PJAX help: 默认关闭, 开启后点击站内链接时只更新主要内容区域而不是整个页面 (可能与一些插件存在兼容问题) value: false - - $formkit: checkbox - label: 启用断言 - id: assert_enable - name: assert_enable - value: false - help: 此选项开启后, 将执行指定的 JS, 如果报错则不加载页面 - - $formkit: code - if: "$get(assert_enable).value === true" - name: assert_code - label: 断言代码 - value: - height: 150px - - group: style label: 全局样式 formSchema: diff --git a/templates/modules/layout.html b/templates/modules/layout.html index f044c5e..fb09531 100644 --- a/templates/modules/layout.html +++ b/templates/modules/layout.html @@ -8,18 +8,6 @@ -