@ticatec/batch-data-uploader 0.0.3 → 0.0.4

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.
@@ -32,7 +32,7 @@ export default class BaseTemplate {
32
32
  const sheet = workbook.Sheets[workbook.SheetNames[0]];
33
33
  const range = XLSX.utils.decode_range(sheet['!ref'] || ''); // 获取范围
34
34
  const rows = [];
35
- for (let rowIndex = range.s.r + 1 + this.rowOffset; rowIndex <= range.e.r; rowIndex++) {
35
+ for (let rowIndex = range.s.r + this.rowOffset; rowIndex <= range.e.r; rowIndex++) {
36
36
  const rowObject = {};
37
37
  for (const colDef of this._columns) {
38
38
  const cellAddress = { r: rowIndex, c: colDef.pos };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticatec/batch-data-uploader",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "A reusable Svelte component for batch uploading Excel data with support for error handling, multi-language, and preprocessing.",
5
5
  "scripts": {
6
6
  "dev": "vite dev",