@leankylin-sheet/core 4.0.41 → 4.0.42
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -40026,7 +40026,7 @@ function setCellValue(ctx, r, c, d, v, isCache) {
|
|
|
40026
40026
|
for (var cIndex = 0; cIndex < row.length; cIndex++) {
|
|
40027
40027
|
var vUpdateCell = row[cIndex] || "";
|
|
40028
40028
|
var vupdateStr = vUpdateCell.toString();
|
|
40029
|
-
var _cell = _objectSpread2({}, cell || {});
|
|
40029
|
+
var _cell = cIndex === 0 && rIndex === 0 ? _objectSpread2({}, cell || {}) : {};
|
|
40030
40030
|
setVUpdateStr(_cell, vupdateStr, d, r + rIndex, c + cIndex, vUpdateCell);
|
|
40031
40031
|
}
|
|
40032
40032
|
}
|
package/dist/index.js
CHANGED
|
@@ -40036,7 +40036,7 @@ function setCellValue(ctx, r, c, d, v, isCache) {
|
|
|
40036
40036
|
for (var cIndex = 0; cIndex < row.length; cIndex++) {
|
|
40037
40037
|
var vUpdateCell = row[cIndex] || "";
|
|
40038
40038
|
var vupdateStr = vUpdateCell.toString();
|
|
40039
|
-
var _cell = _objectSpread2({}, cell || {});
|
|
40039
|
+
var _cell = cIndex === 0 && rIndex === 0 ? _objectSpread2({}, cell || {}) : {};
|
|
40040
40040
|
setVUpdateStr(_cell, vupdateStr, d, r + rIndex, c + cIndex, vUpdateCell);
|
|
40041
40041
|
}
|
|
40042
40042
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.42",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build": "father-build"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@leankylin-sheet/formula-parser": "4.0.
|
|
16
|
+
"@leankylin-sheet/formula-parser": "4.0.42",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|