@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.js
CHANGED
|
@@ -3574,8 +3574,7 @@ var compile = async function(data, ruleSheetName, options) {
|
|
|
3574
3574
|
const sheet = workbook.getWorksheet(ruleSheetName);
|
|
3575
3575
|
if (sheet === void 0) {
|
|
3576
3576
|
return {
|
|
3577
|
-
workbook
|
|
3578
|
-
errs: [new Error(`compile error, ${ruleSheetName} not exists!`)]
|
|
3577
|
+
workbook
|
|
3579
3578
|
};
|
|
3580
3579
|
}
|
|
3581
3580
|
if (workbook.worksheets === void 0) {
|