@ticatec/batch-data-uploader 0.0.1 → 0.0.2
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.
- package/dist/BaseTemplate.d.ts +1 -1
- package/dist/BaseTemplate.js +2 -2
- package/package.json +1 -1
package/dist/BaseTemplate.d.ts
CHANGED
package/dist/BaseTemplate.js
CHANGED
|
@@ -56,7 +56,7 @@ export default class BaseTemplate {
|
|
|
56
56
|
* @param rows
|
|
57
57
|
* @protected
|
|
58
58
|
*/
|
|
59
|
-
consolidateData(rows) {
|
|
59
|
+
async consolidateData(rows) {
|
|
60
60
|
return rows;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
@@ -81,7 +81,7 @@ export default class BaseTemplate {
|
|
|
81
81
|
}
|
|
82
82
|
rows.push({ data: rowObject, status: 'P' });
|
|
83
83
|
}
|
|
84
|
-
this._list = this.consolidateData(rows);
|
|
84
|
+
this._list = await this.consolidateData(rows);
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* 上传数据
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ticatec/batch-data-uploader",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
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",
|