This commit is contained in:
yumoqing 2026-05-14 13:14:35 +08:00
parent e7381291e8
commit 8643e22a50

View File

@ -39,7 +39,7 @@ def write_pattern_xlsx(name: str, fields: dict, data=None) -> str:
create_options(ws_data, c, hidden, opt_id, f.options) create_options(ws_data, c, hidden, opt_id, f.options)
opt_id = opt_id + 1 opt_id = opt_id + 1
if data: if data:
write(ws_data, 2, c, name, data) write_data(ws_data, 2, c, name, data)
c += 1 c += 1
fs = FileStorage() fs = FileStorage()
if data is None: if data is None: