From a55654674a3557cba03cfc7b9ab268da053bbae1 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 17:53:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20template=E5=85=BC=E5=AE=B9=E6=97=A0edita?= =?UTF-8?q?ble=E5=AD=97=E6=AE=B5=E7=9A=84CRUD=E5=AE=9A=E4=B9=89=EF=BC=8Ced?= =?UTF-8?q?itable.binds=E8=AE=BF=E9=97=AE=E5=89=8D=E5=85=88=E6=A3=80?= =?UTF-8?q?=E6=9F=A5editable=E5=AD=98=E5=9C=A8=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xls2ddl/tmpls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xls2ddl/tmpls.py b/xls2ddl/tmpls.py index 65e0e65..10c3450 100644 --- a/xls2ddl/tmpls.py +++ b/xls2ddl/tmpls.py @@ -43,7 +43,7 @@ data_browser_tmpl = """ {% else %} "update_data_url":{%- raw -%}"{{entire_url('update_{%- endraw -%}{{summary[0].name}}{%- raw -%}.dspy')}}"{%- endraw %} {% endif %} -{% if editable.binds %} +{% if editable and editable.binds %} ,"binds":{{json.dumps(editable.binds, indent=4, ensure_ascii=False)}} {% endif %} },