@fileverse-dev/fortune-core 1.1.80-patch-test-5 → 1.1.80-patch-test-6
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/es/api/sheet.js +1 -0
- package/lib/api/sheet.js +1 -0
- package/package.json +1 -1
package/es/api/sheet.js
CHANGED
|
@@ -121,6 +121,7 @@ export function calculateSheetFromula(ctx, id) {
|
|
|
121
121
|
continue;
|
|
122
122
|
}
|
|
123
123
|
var result = execfunction(ctx, (_c = ctx.luckysheetfile[index].data[r][c]) === null || _c === void 0 ? void 0 : _c.f, r, c, id);
|
|
124
|
+
console.log("Formula result", result);
|
|
124
125
|
api.setCellValue(ctx, r, c, result[1], null);
|
|
125
126
|
insertUpdateFunctionGroup(ctx, r, c, id);
|
|
126
127
|
}
|
package/lib/api/sheet.js
CHANGED
|
@@ -138,6 +138,7 @@ function calculateSheetFromula(ctx, id) {
|
|
|
138
138
|
continue;
|
|
139
139
|
}
|
|
140
140
|
var result = (0, _2.execfunction)(ctx, (_c = ctx.luckysheetfile[index].data[r][c]) === null || _c === void 0 ? void 0 : _c.f, r, c, id);
|
|
141
|
+
console.log("Formula result", result);
|
|
141
142
|
_2.api.setCellValue(ctx, r, c, result[1], null);
|
|
142
143
|
(0, _2.insertUpdateFunctionGroup)(ctx, r, c, id);
|
|
143
144
|
}
|