export-to-exceljs-util 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-to-exceljs-util",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "使用exceljs导出excel文件",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/utils/index.js CHANGED
@@ -173,6 +173,7 @@ export function retainTitleAndKey(items) {
173
173
  // 合并单元格的范围
174
174
  const mergeStart = 'A' + startCell;
175
175
  const mergeEnd = 'H' + endCell;
176
+ worksheet.mergeCells(mergeStart+':'+mergeEnd);
176
177
  const mergedCells = [
177
178
  'A' + startCell,
178
179
  'B' + startCell,