Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: fix source error (#4505)
ybzkya4108c549ec9
diff --git a/packages-experimental/sheets-source-binding/src/model/source-model.ts b/packages-experimental/sheets-source-binding/src/model/source-model.tsindex c9e21ac376..b540680eb1 100644--- a/packages-experimental/sheets-source-binding/src/model/source-model.ts+++ b/packages-experimental/sheets-source-binding/src/model/source-model.ts@@ -118,8 +118,10 @@ export class ListSourceModel extends SourceModelBase {let data;if (this._isListObject) {data = (this._data.records as Record<string | number, any>)[rowIndex - 1][path];+ } else {+ data = this._data.records[rowIndex - 1][colIndex];}- data = this._data.records[rowIndex - 1][colIndex];+if (node.isDate === true) {return {v: transformDate(data),