@vdhewei/xlsx-template-lib 1.2.3 → 1.2.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.
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3497,8 +3497,7 @@ var compile = async function(data, ruleSheetName, options) {
|
|
|
3497
3497
|
const sheet = workbook.getWorksheet(ruleSheetName);
|
|
3498
3498
|
if (sheet === void 0) {
|
|
3499
3499
|
return {
|
|
3500
|
-
workbook
|
|
3501
|
-
errs: [new Error(`compile error, ${ruleSheetName} not exists!`)]
|
|
3500
|
+
workbook
|
|
3502
3501
|
};
|
|
3503
3502
|
}
|
|
3504
3503
|
if (workbook.worksheets === void 0) {
|