@fileverse-dev/fortune-core 1.2.95-ydoc-1 → 1.2.95-ydoc-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/es/api/cell.js +3 -1
- package/lib/api/cell.js +3 -1
- package/package.json +1 -1
package/es/api/cell.js
CHANGED
|
@@ -112,7 +112,9 @@ export function setCellValue(ctx, row, column, value, cellInput, options, callAf
|
|
|
112
112
|
setCellValueInternal(ctx, row, column, data, curv);
|
|
113
113
|
}
|
|
114
114
|
_.forEach(value, function (v, attr) {
|
|
115
|
-
|
|
115
|
+
console.log("attr haha why here", attr);
|
|
116
|
+
if (attr in formatList && callAfterUpdate) {
|
|
117
|
+
console.log("attr calling updateFormatCell", attr, callAfterUpdate);
|
|
116
118
|
updateFormatCell(ctx, data, attr, v, row, row, column, column);
|
|
117
119
|
} else {
|
|
118
120
|
cell_1[attr] = v;
|
package/lib/api/cell.js
CHANGED
|
@@ -123,7 +123,9 @@ function setCellValue(ctx, row, column, value, cellInput, options, callAfterUpda
|
|
|
123
123
|
(0, _modules.setCellValue)(ctx, row, column, data, curv);
|
|
124
124
|
}
|
|
125
125
|
_lodash.default.forEach(value, function (v, attr) {
|
|
126
|
-
|
|
126
|
+
console.log("attr haha why here", attr);
|
|
127
|
+
if (attr in formatList && callAfterUpdate) {
|
|
128
|
+
console.log("attr calling updateFormatCell", attr, callAfterUpdate);
|
|
127
129
|
(0, _modules.updateFormatCell)(ctx, data, attr, v, row, row, column, column);
|
|
128
130
|
} else {
|
|
129
131
|
cell_1[attr] = v;
|