This commit is contained in:
yumoqing 2026-06-26 13:48:30 +08:00
parent b4a9387ea8
commit 0d53ef67ed

View File

@ -451,7 +451,7 @@ async with db.sqlorContext(dbname) as sor:
}
{% endif %}
tblfields = {{json.dumps(fields, ensure_ascii=False)}}
tblfname = [ f.name for f in tblfields ]
tblfname = [ f['name'] for f in tblfields ]
other_keys = [ k for k in ns.keys() if k in tblfnmae and k != 'id' ]
if len(other_keys) > 0:
r = await sor.U('{{summary[0].name}}', ns)