From ea904fb2b2127d50fd4260f793a91222c209f4df Mon Sep 17 00:00:00 2001 From: hz4th_coder Date: Mon, 1 Jun 2026 16:12:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B8=85=E7=90=86templates=5Ffull.txt?= =?UTF-8?q?=E5=BC=80=E5=A4=B4=E7=9A=84Python=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除模板文件开头的Python代码片段: - '# ==================== HTML 模板 ====================' - 'HTML_TEMPLATE = ''' 确保templates_full.txt是纯粹的HTML模板,从开始 这是导致浏览器console报错的根本原因: - Python代码片段会被浏览器当作JavaScript解析 - 导致JavaScript执行失败,函数未定义 - closeEmailRuleModal等函数无法正常工作 --- templates_full.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates_full.txt b/templates_full.txt index c0594e4..839721b 100644 --- a/templates_full.txt +++ b/templates_full.txt @@ -1,6 +1,4 @@ -# ==================== HTML 模板 ==================== - -HTML_TEMPLATE = ''' +