feat(定时任务): 新增第八个 HTML 模板 no.8(只展示)
- no.8.html(77KB)复制进 templates/no8/;数据存于 <script id="DATA" type="application/json"> 元素(同 no.4/no.7 元素注入),当前引擎只支持 const VAR= 行注入, 故先注册为 convertible=False 只展示 - 前端下拉/参考列表自动出现 no.8 - 测试覆盖 no.8 存在/只展示/文件可读 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
60029ae3dc
commit
31cd19aabb
2 files changed
+312
No files matched your search
+9
@@ -184,6 +184,15 @@ TEMPLATES: tuple[TemplateSpec, ...] = (
|
||||
# 当前引擎只支持 const VAR= 行注入,故暂注册为只展示;接转换需扩展元素注入。
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no8",
|
||||
name="no.8",
|
||||
description="",
|
||||
file="no8/no8.html",
|
||||
# 数据存于 <script id="DATA" type="application/json"> 元素(同 no.4/no.7 元素注入),
|
||||
# 当前引擎只支持 const VAR= 行注入,故暂注册为只展示;接转换需扩展元素注入。
|
||||
convertible=False,
|
||||
),
|
||||
)
|
||||
|
||||
_TEMPLATES_BY_ID: dict[str, TemplateSpec] = {t.id: t for t in TEMPLATES}
|
||||
|
||||
Reference in new issue
Block a user