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(sheets): make auto-width sync (#4532)
zhangwd7cfc52b49bb
diff --git a/packages/sheets-ui/src/commands/commands/set-worksheet-auto-col-width.command.ts b/packages/sheets-ui/src/commands/commands/set-worksheet-auto-col-width.command.tsindex 372caaf91d..537f0114f5 100644--- a/packages/sheets-ui/src/commands/commands/set-worksheet-auto-col-width.command.ts+++ b/packages/sheets-ui/src/commands/commands/set-worksheet-auto-col-width.command.ts@@ -38,7 +38,7 @@ export interface ISetWorksheetColIsAutoWidthCommandParams {export const SetWorksheetColAutoWidthCommand: ICommand = {type: CommandType.COMMAND,id: 'sheet.command.set-col-auto-width',- handler: async (accessor: IAccessor, params?: ISetWorksheetColIsAutoWidthCommandParams) => {+ handler: (accessor: IAccessor, params?: ISetWorksheetColIsAutoWidthCommandParams) => {const commandService = accessor.get(ICommandService);const undoRedoService = accessor.get(IUndoRedoService);const selectionManagerService = accessor.get(SheetsSelectionsService);