This commit is contained in:
csj
2026-09-18 10:35:38 +08:00
parent 45ccfd69be
commit 967eaaec8a
13 changed files with 787 additions and 463 deletions
+3 -2
View File
@@ -218,5 +218,6 @@ def prepare_preview(path):
with zipfile.ZipFile(path, 'w', zipfile.ZIP_DEFLATED) as output:
for name, data in template.parts.items():
output.writestr(name, data)
return dict(expensePreview='xlsx-layout-v2', previewUncalculatedCells=uncalculated,
previewLayout=read_layout(path))
result = dict(expensePreview='xlsx-layout-v4', previewUncalculatedCells=uncalculated,
previewLayout=read_layout(path))
return result