980909ca by 周伟奇

fix ref

1 parent 3802c621
...@@ -467,7 +467,7 @@ class BSWorkbook(Workbook): ...@@ -467,7 +467,7 @@ class BSWorkbook(Workbook):
467 fill_row = set() 467 fill_row = set()
468 468
469 # 添加筛选 469 # 添加筛选
470 new_ws.auto_filter.ref = 'A1:{0}{1}'.format(get_column_letter(new_ws.max_column), new_ws.max_row) 470 new_ws.auto_filter.ref = 'A1:{0}{1}'.format(get_column_letter(new_ws.max_column-2), new_ws.max_row)
471 471
472 for rows in new_ws.iter_rows(min_row=2): 472 for rows in new_ws.iter_rows(min_row=2):
473 length = len(rows) 473 length = len(rows)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!